djweezy

- friends
379 link karma
201 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • One-Year Club

    Verified Email

Combining two different documentclasses into one pdf by mathleetin LaTeX

[–]djweezy 6 points7 points ago

\usepackage{pdfpages}
\includepdf[pages = {1-1}]{resume.pdf}

Is how I would do it, easiest way to keep formatting and everything the same between the resume and the inserted version.

Best option for an unrooted backup. by Xiazerin AndroidQuestions

[–]djweezy 1 point2 points ago

Not really, app permissions are fairly well contained. Without root a app cannot access another apps data. Just root it, its awesome.

Creating a alias to cp, bash by nahawandin commandline

[–]djweezy 0 points1 point ago

In theory yes it should, but with an alias it can't put things in the middle. For a great explanation see Rhomboid's reply below.

Creating a alias to cp, bash by nahawandin commandline

[–]djweezy 0 points1 point ago

I have something very similar in my .zshrc but wasn't sure if the syntax was quite the same, guess it is. TIL

Creating a alias to cp, bash by nahawandin commandline

[–]djweezy 2 points3 points ago

From what I have been told an alias is just a literal alias so what is happening when you run is

mycp foo.jpeg

is

cp $@ ~/Downloads/testing/$@.$(date +%Y-%m-%d) foo.jpeg

What are you doing with your degree in engineering? by 432in engineering

[–]djweezy 2 points3 points ago

Getting another degree in engineering.

How do I screencap on my HTC Inspire? And how do I root my phone? by Contemporariumin AndroidQuestions

[–]djweezy 2 points3 points ago

Basically equivalent to giving yourself administrative rights on your computer. Right now you are a limited user, rooting removes that issue. This is the easiest way to root and unlock your phone.

How do I screencap on my HTC Inspire? And how do I root my phone? by Contemporariumin AndroidQuestions

[–]djweezy 2 points3 points ago

If you root/unlock the inspire 4g and install another rom, then you can. For instance on cyanogenmod7 you hold down the power button to get the power menu, it has an option for screenshot. ICS (or CM9 already integrated) has this built in aswell. This is the ICS build I run on my Inspire. CM7 also runs quite well.

I just blue myself by MurderSheScrotein cigars

[–]djweezy 0 points1 point ago

Agreed, I used one like this for years. Now I use matches, so much better!

IAm brian taylor, director of Ghost Rider Spirit of Vengeance and the CRANK movies. AMA!!! by briantaylorin IAmA

[–]djweezy -1 points0 points ago

javascript: var start = getStart();var author = $("#siteTable .author").text();start.each( function() {authorSearch($(this), author);hideAuthors($(this))});function isVisible(item) {var disp = $(item).children(".entry").children(".noncollapsed").css("display");if (disp != "none") {return true;}return false;}function getStart() {return $(".nestedlisting").children(".thing");}function getName(item) {return $(item).find(".author:first").text();}function getChildren(item) {return item.children(".child").children(".sitetable").children(".thing");}function getText(item) {return item.find(".md:first").text();}javascript: function authorSearch(item, author) {var children = getChildren(item);var itemAuthor = getName(item);if (isVisible(item) == false) {showItem(item);}children.each( function () {tempAuthor = authorSearch($(this), author);if (tempAuthor == author ) {itemAuthor = tempAuthor;}});if (itemAuthor == author) {$(item).attr("context", "show");}return itemAuthor;}function hideAuthors(item) {var children = getChildren(item);if ($(item).attr("context") == "show") {children.each( function () {hideAuthors($(this));});} else {hideItem(item);}}function hideItem(item) {hidecomment(item.find(".expand:first"));}function showItem(item) {showcomment(item.find(".expand:first"));} void(0);

thats what the AMA bookmarklet is for (copy pasta into a new bookmark)

Cinnamon? by donfrenchianoin Gentoo

[–]djweezy 7 points8 points ago

* gnome-extra/cinnamon
     Available versions:  ~1.2-r1 {+bluetooth +networkmanager}
     Homepage:            http://cinnamon.linuxmint.com/
     Description:         A fork of GNOME Shell with layout similar to GNOME 2

xdg-open (and friends) problem by LeonBoin vim

[–]djweezy 0 points1 point ago

That's true, I was thinking more from whatever gnome's equivalent of a run box like fbrun is.

xdg-open (and friends) problem by LeonBoin vim

[–]djweezy 0 points1 point ago

How else to you echo stuff from a non-interactive shell? That is the only way I have used.

xdg-open (and friends) problem by LeonBoin vim

[–]djweezy 0 points1 point ago*

Likely gnome doesn't have the $BROWSER variable declared in whatever environment it is using to launch xdg-open. Try

 echo $BROWSER > ~/foo.txt

and see what it spits out into foo.txt

edit:formatting edit2: if it wasn't clear, run that from within gnome and compare it to what it is set to within a terminal

What third party SMS app do you recommend and why? by CyberVillianin AndroidQuestions

[–]djweezy 0 points1 point ago

Go into the setting in the original messaging app (I'm on ICS now or I would guide you through it) and disable the notifications.

Do doctors take into account the body weight of patients when determining correct dosage of a prescription drug? by Nowy_Tematin askscience

[–]djweezy 2 points3 points ago

I would say it depends on the drug, I have been on a few where the typical dosage was 4 mb/kg of body weight, such as daptomycin.

64 oz Wide Mouth Vacuum Insulated Stainless Steel Growler by Hydro Flask by Hopulusin BuyItForLife

[–]djweezy 0 points1 point ago

Other than size is this better than the Klean Kanteen version?

Vim online: why not? by lookitsmarcin vim

[–]djweezy 4 points5 points ago

Because all the cool kids have computers setup for ssh where they use vim or use it on their laptops :P

soma.fm + dialog by aflottin commandline

[–]djweezy 0 points1 point ago

I use this code that I wrote. You can either run it and it will list the choices or you can run it with your choice in the command line e.g.

./streams 12

Dad missed my wedding; my sister photoshopped him into the action. by bigshoop78in pics

[–]djweezy 0 points1 point ago

Had that exact same thing a little over year ago, not something to fuck around with.

Does anyone else but me name their new PC? by oodledoodleyin buildapc

[–]djweezy 0 points1 point ago

  • Laptop: Odin
  • Desktop: Loki
  • Server: Medusa
  • Router: Echelon
  • dead computers: thor and blackpearl

edit: formatting

view more: next