Skip to content

Instantly share code, notes, and snippets.

View gatodeveloper's full-sized avatar

Diego Santiesteban gatodeveloper

View GitHub Profile
@gatodeveloper
gatodeveloper / messages.css
Last active May 3, 2017 13:59
messages.css
#wife{
right: 100%;
margin: 0;
}
.fear{
display: none;
}
.ninja{
@erichrobinson
erichrobinson / README.md
Last active February 24, 2024 08:32
SwitchResX Configuration

#SwitchResX Settings for LG 21:9 UltraWide

SwitchResX is a utility that allows users to override the default resolution settings in OSX. For more information, including download links, vist http://www.madrau.com/ .

##Disabling System Integrity Protection (SIP)

If you are running OSX 10.11 or higher, SIP must be disabled. To disable SIP do the following:

  • Boot into the recovery partition by pressing CMD + R when starting up your Mac.
  • Once in recovery mode, open a terminal window.
  • Type the command csrutil disable
@mikomatic
mikomatic / ng-prism.js
Created July 17, 2014 14:02
Angularjs directive with prism code highlight
/**
* Usage
*
* <ng-prism class="language-css">
* body {
* color: red;
* }
* </ng-prism>
*
* the files prismjs and prism css must be included in HTML, use class "language-XXX" to specify language
@willurd
willurd / web-servers.md
Last active May 10, 2024 05:14
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@manufaktor
manufaktor / media-queries.sass
Created April 4, 2013 10:59
Using SASS 3.2 for media query helpers
// A basic media query mixin that makes responsive work simple.
=respond-to($device)
@if $device == handheld
@media only screen and (min-width : 320px)
@content
@if $device == handheld-landscape
@media only screen and (min-width : 320px) and (orientation : landscape)