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
Section "Device" | |
Identifier "Intel Graphics" | |
Driver "intel" | |
Option "AccelMethod" "glamor" | |
Option "DRI" "3" | |
Option "TearFree" "true" | |
Option "SwapbuffersWait" "true" | |
EndSection |
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! s:FixHash(line1,line2) | |
let l:save_cursor = getpos(".") | |
silent! execute ':' . a:line1 . ',' . a:line2 . 's/\%(''\|:\)\([a-zA-Z0-9_]\+\)\%(\s*=>\|''\s*=>\|'':\)/\1:/g' | |
call setpos('.', l:save_cursor) | |
endfunction | |
command! -range=% FixHash call <SID>FixHash(<line1>,<line2>) |
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
def renderActionInOtherController(controller,action,params) | |
c = controller.new | |
c.params = params | |
c.dispatch(action, request) | |
c.response.body | |
end |
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
[opcache] | |
; Determines if Zend OPCache is enabled | |
;opcache.enable=0 | |
opcache.enable=1 | |
; Determines if Zend OPCache is enabled for the CLI version of PHP | |
;opcache.enable_cli=0 | |
opcache.enable_cli=1 | |
; The OPcache shared memory storage size. |
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
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
export RBENV_PLUGINS="$HOME/.rbenv/plugins" | |
git clone git://github.com/sstephenson/rbenv-vars.git ${RBENV_PLUGINS}/rbenv-vars | |
git clone git://github.com/sstephenson/ruby-build.git ${RBENV_PLUGINS}/ruby-build | |
git clone git://github.com/sstephenson/rbenv-default-gems.git ${RBENV_PLUGINS}/rbenv-default-gems | |
git clone git://github.com/fesplugas/rbenv-installer.git ${RBENV_PLUGINS}/rbenv-installer |
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
Style/Documentation: | |
Enabled: false | |
Style/WordArray: | |
MinSize: 4 | |
Metrics/LineLength: | |
Max: 120 | |
Metrics/AbcSize: |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Client name="Chromecast"> | |
<!-- Author: Plex Inc. --> | |
<TranscodeTargets> | |
<VideoProfile protocol="http" container="matroska" codec="h264" audioCodec="aac" subtitleCodec="ass" context="streaming"> | |
<Setting name="VideoEncodeFlags" value="-x264opts bframes=3:cabac=1" /> | |
</VideoProfile> | |
<MusicProfile container="matroska" codec="mp3" /> | |
<PhotoProfile container="jpeg" /> | |
</TranscodeTargets> |
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
/* ghosttest.c: GHOST vulnerability tester */ | |
/* Credit: http://www.openwall.com/lists/oss-security/2015/01/27/9 */ | |
#include <netdb.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#define CANARY "in_the_coal_mine" | |
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
synclient PalmDetect=1 PalmMinWidth=1 PalmMinZ=1 VertScrollDelta=40 HorizScrollDelta=40 CoastingSpeed=1 CoastingFriction=60 TapButton1=1 TapButton2=3 TapButton3=2 VertTwoFingerScroll=1 HorizTwoFingerScroll=1 FingerHigh=45 FingerLow=40 EmulateMidButtonTime=180 |
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
Section "InputClass" | |
Identifier "Touchpad" | |
Driver "synaptics" | |
MatchIsTouchpad "on" | |
Option "PalmDetect" "1" | |
Option "PalmMinWidth" "1" | |
Option "PalmMinZ" "1" | |
Option "VertScrollDelta" "40" | |
Option "HorizScrollDelta" "40" | |
Option "CoastingSpeed" "1" |
NewerOlder