I hereby claim:
- I am kuntau on github.
- I am kuntau (https://keybase.io/kuntau) on keybase.
- I have a public key ASB3kc-9o1lh1sXHVKgG9ODzw-N3HfrwQB_r7W-T-dA0Uwo
To claim this, I am signing this object:
// Scraping Made Easy with jQuery and SelectorGadget | |
// (http://blog.dtrejo.com/scraping-made-easy-with-jquery-and-selectorga) | |
// by David Trejo | |
// | |
// Install node.js and npm: | |
// http://joyeur.com/2010/12/10/installing-node-and-npm/ | |
// Then run | |
// npm install jsdom jquery http-agent | |
// node numresults.js | |
// |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# The other answers are correct, in that chmod -R 755 will set this as permissions to all files and folders in the tree. But why on earth would you want to? It might make sense for the directories, but why set the execute bit on all the files? | |
# I suspect what you really want to do is set the directories to 755 and either leave the files alone or set them to 644. For this, you can use the find command. For example: | |
# To change all the directories to 755 (-rwxr-xr-x): | |
find /opt/lampp/htdocs -type d -exec chmod 755 {} \; | |
# To change all the files to 644 (-rw-r--r--): |
/* | |
On Tue, Sep 30, 2008 at 6:52 AM, Austin English <austinenglish at gmail.com> wrote: | |
> On Mon, Sep 29, 2008 at 3:39 PM, Mark Wagner <carnildo at gmail.com> wrote: | |
>> What's the best way for an application to detect that it's running under Wine? | |
>> | |
>> As part of the installation process, under Windows our program does a | |
>> full-disk search of all local hard drives, but ignoring network drives | |
>> and removable media. Under Wine, this doesn't work too well, as | |
>> there's not a one-to-one mapping between disks and drive letters, and | |
>> there's usually at least one way to access the entire *nix filesystem. |
I hereby claim:
To claim this, I am signing this object:
Result: 1 | |
Items { | |
TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
Badge { | |
BadgeType: BADGE_BATTLE_ATTACK_WON | |
BadgeRanks: 4 | |
Targets: "\nd\350\007" | |
} | |
} | |
Items { |
// ==UserScript== | |
// @name PokeRadar.io fixed | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.pokeradar.io/ | |
// @grant GM_addStyle | |
// @grant GM_log | |
// @grant unsafeWindow |
angular.module("trackerApp").directive("stream", ["$sce", "$rootScope", function(a, b) { | |
return { | |
restrict: "E", | |
templateUrl: "views/match_stream.html", | |
scope: !1, | |
transclude: !1, | |
controller: ["$scope", function(c) { | |
c.trustTwitchSrc = function(b) { | |
return a.trustAsResourceUrl("http://twitch.tv/" + b + "/embed") | |
} |
#NoEnv | |
SetWorkingDir %A_ScriptDir% | |
CoordMode, Mouse, Client | |
SendMode Input | |
#SingleInstance Force | |
SetTitleMatchMode 2 | |
#WinActivateForce | |
SetControlDelay 1 | |
SetWinDelay 0 | |
SetKeyDelay -1 |
//ref: http://andrewhfarmer.com/hide-discord-sidebar/ | |
document.addEventListener('keydown', function(event) { | |
if (event.metaKey && event.keyCode === 220) { | |
// Toggle visibility of the channel and guilds columns | |
var channelWrap = $('.flex-vertical.channels-wrap'); | |
var guildsWrap = $('.guilds-wrapper'); | |
var titleWrap = $('.title-wrap'); | |
if (channelWrap.getAttribute('style') === 'display: none') { | |
channelWrap.setAttribute('style', ''); | |
guildsWrap.setAttribute('style', ''); |