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
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/multi-row_tabs.css made available under Mozilla Public License v. 2.0 | |
See the above repository for updates as well as full license text. */ | |
/* Makes tabs to appear on multiple lines */ | |
/* Tab reordering will not work and can't be made to work */ | |
/* You can use multi-row_tabs_window_control_patch.css to move window controls to nav-bar*/ | |
/* You might want to move tabs-new-tab-button outside tabs toolbar for smoother behavior */ | |
/* Change the --multirow-n-rows to change maximum number of rows before the rows will start to scroll */ |
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
NEWLINE=$'\n' | |
# primary prompt: dashed separator, directory and vcs info | |
PS1="${FG[237]}\${(l.\$(afmagic_dashes)..-.)}%{$reset_color%} | |
${FG[032]}%~\$(git_prompt_info)\$(hg_prompt_info) ${FG[105]}%(!.#.${NEWLINE}»)%{$reset_color%} " | |
PS2="%{$fg[red]%}\ %{$reset_color%}" | |
# right prompt: return code, virtualenv and context (user@host) | |
# added time stamp to right prompt [4:16:55] | |
RPS1="%D{%L:%M:%S} %(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
if (( $+functions[virtualenv_prompt_info] )); then |
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
document.querySelector('div[class^="FeedbackResponse"]').style.display='none'; | |
document.querySelector('aside').style.display='none'; | |
document.querySelector('div[class^="Wrapper-sc"]').style.height='auto'; | |
document.querySelector('nav').style.display='none'; | |
document.querySelector('div[class^="Body"]').style.position='inherit'; |
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
#!/bin/bash | |
## Script to merge all mp4 videos in current directory (recursively 2 levels) | |
## And update chapter marks to retain the folder/filename | |
## Script for merging videos | |
filename=`basename pwd` | |
current=`pwd` |
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
ZSH_THEME="af-magic" # ref: https://gist.github.com/palaniraja/e12ff78d71c58a0f24d8660c3c09fb2e | |
# plantuml local web for VSCode on port 8000 | |
alias plantuml="cd ~/Desktop/Data/tools/plantuml && java -jar plantuml.jar -picoweb:8000" | |
# history | |
fh() { | |
print -z $( ([ -n "$ZSH_NAME" ] && fc -l 1 || history) | fzf +s --tac --height "40%" | sed -E 's/ *[0-9]*\*? *//' | sed -E 's/\\/\\\\/g') | |
} |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>DVTConsoleDebuggerInputTextColor</key> | |
<string>0.940272 0.948094 0.807674 1</string> | |
<key>DVTConsoleDebuggerInputTextFont</key> | |
<string>JetBrainsMono-Bold - 14.0</string> | |
<key>DVTConsoleDebuggerOutputTextColor</key> | |
<string>0.940272 0.948094 0.807674 1</string> |
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 autoLogin() { | |
/* | |
//Trying to do the below curl request as google spreadsheet scheduler | |
curl -X POST \ | |
http://myserver.compute.amazonaws.com/api/users/login \ | |
-H 'cache-control: no-cache' \ | |
-H 'content-type: application/json' \ | |
-d '{ | |
"email" : "emailid@gmail.com", |
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
javascript: (function () { | |
var setupDiv = function () { | |
var id = 'Tinderizer'; | |
var div = document.getElementById(id); | |
var body = document.getElementsByTagName('body')[0]; | |
if (null != div) { | |
body.removeChild(div); | |
} | |
div = document.createElement('div'); | |
div.id = id; |
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
arr = Array.from(document.querySelector("pre").childNodes) | |
links = 0 | |
dates = [] | |
links = [] | |
meta = [] | |
dirOrSize = [] | |
i = 0; | |
arr.forEach((el) => { |
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
Usage: xcodebuild [-project <projectname>] [[-target <targetname>]...|-alltargets] [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [-showBuildSettings [-json]] [<buildsetting>=<value>]... [<buildaction>]... | |
xcodebuild [-project <projectname>] -scheme <schemeName> [-destination <destinationspecifier>]... [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [-showBuildSettings [-json]] [-showdestinations] [<buildsetting>=<value>]... [<buildaction>]... | |
xcodebuild -workspace <workspacename> -scheme <schemeName> [-destination <destinationspecifier>]... [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [-showBuildSettings] [-showdestinations] [<buildsetting>=<value>]... [<buildaction>]... | |
xcodebuild -version [-sdk [<sdkfullpath>|<sdkname>] [-json] [<infoitem>] ] | |
xcodebuild -list [[-project <projectname>]|[-workspace <workspacename>]] [-json] | |
xcodebuild -show |