Skip to content

Instantly share code, notes, and snippets.

View DorkNstein's full-sized avatar

Yeshwanth M DorkNstein

  • Dallas
View GitHub Profile
uname -a && cat /etc/*release
@-moz-document domain("brigade.seventablets.com") {
div.chat {
background: url('http://orig07.deviantart.net/2d25/f/2017/138/a/c/l_lawliet__death_note__minimal_wallpaper_by_max028-db9mh7l.png');
background-size: cover;
}
.chat .message.them .content .text:before, .chat .message.me .content .text:before {
border: none;
}
@-moz-document url-prefix("https://bitbucket.org/"), url-prefix("https://bitbucket-pipelines.atlassian.io/") {
/*** Main Page ***/
/* 'Teams', 'Projects', 'Repositories', 'Snippets' Dropdown list */
.aui-dropdown2.aui-style-default:hover a { /* same as not hover */
background-color: #205081;
color: #FAFAFA;
}
/*** Overview ***/
{
"auto_complete_triggers":
[
{
"characters": "<",
"selector": "*.html"
}
],
"bold_folder_labels": true,
"color_scheme": "Packages/User/Color Highlighter/themes/Monokai.tmTheme",
Color Highlighter
GitGutter
HTML-CSS-JS Prettify
JavaScriptNext - ES6 Syntax
Package Control
PackageResourceViewer
Pretty JSON
Syntax Highlighting for Sass
@DorkNstein
DorkNstein / css-media-queries-cheat-sheet.css
Created July 27, 2017 19:49 — forked from bartholomej/css-media-queries-cheat-sheet.css
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
@DorkNstein
DorkNstein / reloadCSS.js
Created July 28, 2017 20:41 — forked from kdzwinel/reloadCSS.js
Reload CSS files without reloading the page
function reloadCSS() {
const links = document.getElementsByTagName('link');
Array.from(links)
.filter(link => link.rel.toLowerCase() === 'stylesheet' && link.href)
.forEach(link => {
const url = new URL(link.href, location.href);
url.searchParams.set('forceReload', Date.now());
link.href = url.href;
});
@DorkNstein
DorkNstein / Install-neo4j-on-aws-rhel.sh
Last active April 24, 2019 18:25
neo4j config location /etc/neo4j/neo4j.conf
sudo yum install java-1.8.0-openjdk #install java openjdk
# Follow http://yum.neo4j.org/stable/?_ga=2.103097408.1564015346.1501514682-208718025.1490024803
# http://neo4j.com/docs/operations-manual/current/installation/linux/rpm/
sudo yum install neo4j
#http://neo4j.com/docs/operations-manual/current/installation/linux/systemd/
sudo systemctl enable neo4j
sudo systemctl start neo4j
sudo systemctl {start, restart, stop, status} neo4j
@DorkNstein
DorkNstein / ionic-gradle-error-fix.sh
Last active November 2, 2017 23:04
Android SDK Tools 25.3.1 Google dropped support for the android binary, so cordova-android has now adopted support for the avdmanager and sdkmanager binaries. We have also taken the opportunity to rewrite how we use gradle on the user's system. cordova-android now requires Android Studio or Gradle to be installed on the user's system. Follow the…
cordova platform update [email protected]
#https://cordova.apache.org/announcements/2017/04/05/android-release.html
## For Android SDK tools 26.0.2
## if ionic throws 'Could not find gradle wrapper within Android SDK. Might need to update your Android SDK' error
cordova platform update [email protected]
# new
cordova platform update [email protected]
@DorkNstein
DorkNstein / 0_reuse_code.js
Created August 30, 2017 14:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console