This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var should = require( "should" ), | |
webdriver = require( "selenium-webdriver" ), | |
test = require( "selenium-webdriver/testing" ); | |
test.describe( "MouseEvent", function () { | |
var driver, windo; | |
this.timeout( 5000 ); | |
test.before( function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myRequest = new XMLHttpRequest(); | |
myRequest.open("GET", url + ((/\?/).test(url) ? "&" : "?") + (new Date()).getTime()); | |
myRequest.open("POST", "http://www.cedeber.fr/"); | |
myRequest.setRequestHeader("Cache-Control", "no-cache"); | |
myRequest.setRequestHeader("Content-Type", "text/plain"); | |
myRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); | |
myRequest.onload = myOnLoadHandlerFunction; | |
myRequest.send(data||params); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/ConfiguringSystemIntegrityProtection/ConfiguringSystemIntegrityProtection.html | |
# csrutil disable and enable (Cmd+R on reboot) | |
# https://furbo.org/2015/01/19/clearing-the-icon-services-cache-in-yosemite/ | |
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; | |
sudo find /private/var/folders/ -name com.apple.iconservices -exec rm -rf {} \; | |
sudo rm -rf /Library/Caches/com.apple.iconservices.store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function uncache( url ) { | |
var uncached = Math.round( Math.random() * 10000 ) + Date.now(); | |
uncached = ( /\?/.test( url ) ? "&" : "?" ) + "_=" + uncached; | |
return url + uncached; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( min > max ) { | |
max = [ min, min = max ][ 0 ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path.getTotalLength(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GF' | |
alias ll='ls -l' | |
alias la='ls -la' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'lol' | pbcopy | |
pbpaste > file.txt |