Skip to content

Instantly share code, notes, and snippets.

View KevinGimbel's full-sized avatar
🤳
GitHub Stories when?

Kevin Gimbel KevinGimbel

🤳
GitHub Stories when?
View GitHub Profile
@fin-ger
fin-ger / Cargo.toml
Created April 4, 2020 08:00
Short example on how to access the github API in rust. Usage: `cargo run <GITHUB_TOKEN>`
[package]
name = "github-api-example"
version = "0.1.0"
authors = ["Fin Christensen <christensen.fin@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-std = { version = "1.5.0", features = ["attributes"] }
@spinscale
spinscale / console-examples
Created January 18, 2017 08:10
Queries vom Training
DELETE _all
GET index/_mapping
PUT index
{
"settings": {
"analysis": {
"analyzer": {
"my_analyzer": {
@Haroenv
Haroenv / Bug Titles
Created March 14, 2016 17:07
Bug Movie Titles
The Bug Lebowski
A Bug's Life
The Bug
My Bug Fat Greek Wedding
Bug Hero 6
Bugman Rising
Bug (1988)
Pee-wee's Bug Holiday
The Bug Short
Lord of the Bugs: The Two Bugs
@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@kosiara
kosiara / setup_howto.txt
Last active April 21, 2017 03:42
Setup Facebook React-native sample (empty) project on Ubuntu
# author:
# @Bartosz Kosarzycki
#
sudo apt-get install npm
sudo npm install -g react-native-cli
sudo ln -s /usr/bin/nodejs /usr/bin/node
cd /home/user/your/project/path
react-native init AwesomeProject
cd AwesomeProject
@bobbygrace
bobbygrace / trello-css-guide.md
Last active May 15, 2024 16:01
Trello CSS Guide

Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets


Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?

@ericelliott
ericelliott / essential-javascript-links.md
Last active May 17, 2024 03:38
Essential JavaScript Links
@lluchs
lluchs / nginx-uberspace.md
Last active January 3, 2020 18:14
nginx auf dem Uberspace

nginx auf dem Uberspace

Installation

Lade die neueste "mainline"-Version (hier 1.7.9) von http://nginx.org/en/download.html herunter und entpacke sie:

$ wget http://nginx.org/download/nginx-1.7.9.tar.gz 
$ tar xf nginx-1.7.9.tar.gz
@dervondenbergen
dervondenbergen / README.md
Last active August 29, 2015 14:01
WILF search

We Love Icon Fonts search

The search on We Love Icon Fonts is a long requested issue.

To use the search, just drag'n'drop the js file (minfied or unminified) in the bookmarks bar.

You can watch an installation video here: https://vimeo.com/94447449.