Skip to content

Instantly share code, notes, and snippets.

💭
Litt on code 👨‍💻

Siddhant Nandkishor Pagariya sidpagariya

💭
Litt on code 👨‍💻
Block or report user

Report or block sidpagariya

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sidpagariya
sidpagariya / black.css
Created Jul 22, 2019
Slack 4.0.0 Dark Mode CSS
View black.css
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
View keybase.md

Keybase proof

I hereby claim:

  • I am sidpagariya on github.
  • I am sidpagariya (https://keybase.io/sidpagariya) on keybase.
  • I have a public key ASAdgsOgguyOnDmaKDrGSXgaD1E37F8XDeNZuniGEuWqWwo

To claim this, I am signing this object:

View backup-homebrew.sh
#!/bin/bash
brew_command=/usr/local/bin/brew
brew_cask_command="$brew_command cask"
echo '#!/bin/bash'
echo ''
echo 'trap ctrl_c INT'
echo 'function ctrl_c() {'
echo 'echo "** Trapped CTRL-C"'
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@sidpagariya
sidpagariya / SnapShatter.java
Created Mar 25, 2018 — forked from anonymous/SnapShatter.java
Snapchat streak bot for Android based off of UIAutomation. Raw
View SnapShatter.java
package com.packageName.snapchatuiautomat;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import android.content.Context;
import android.content.Intent;
import android.os.RemoteException;
import android.support.test.InstrumentationRegistry;
View init.coffee
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
View atom-package-sync.cson
"activate-power-mode":
prettyName: "Activate Power Mode"
homepage: "https:/atom.io/packages/activate-power-mode"
"advanced-open-file":
prettyName: "Advanced Open File"
homepage: "https:/atom.io/packages/advanced-open-file"
"apex-syntax":
prettyName: "Apex Syntax"
homepage: "https:/atom.io/packages/apex-syntax"
"apex-ui":
View NSUserDefaults+UIColor.swift
extension NSUserDefaults {
func colorForKey(key: String) -> UIColor? {
var color: UIColor?
if let colorData = dataForKey(key) {
color = NSKeyedUnarchiver.unarchiveObjectWithData(colorData) as? UIColor
}
return color
}
You can’t perform that action at this time.