Skip to content

Instantly share code, notes, and snippets.

View druzn3k's full-sized avatar

Maurizio Del Corno druzn3k

View GitHub Profile
@robdmoore
robdmoore / _readme.md
Last active October 8, 2022 13:57
HelloWorld Cordova and PhoneGap app differences

The _'s in the file names are representative of a folder path.

The following is the console output of how these files were generated:

C:\Windows\system32>cordova -v
3.5.0-0.2.6

C:\Windows\system32>phonegap -v
3.5.0-0.20.7
@staltz
staltz / introrx.md
Last active September 11, 2026 21:25
The introduction to Reactive Programming you've been missing
@kracekumar
kracekumar / Writing better python code.md
Last active May 15, 2026 06:40
Talk I gave at June bangpypers meetup.

Writing better python code


Swapping variables

Bad code

@cridenour
cridenour / gist:74e7635275331d5afa6b
Last active November 16, 2025 19:58
Setting up Vim as your Go IDE

Setting up Vim as your Go IDE

The final IDE

Intro

I've been wanting to do a serious project in Go. One thing holding me back has been a my working environment. As a huge PyCharm user, I was hoping the Go IDE plugin for IntelliJ IDEA would fit my needs. However, it never felt quite right. After a previous experiment a few years ago using Vim, I knew how powerful it could be if I put in the time to make it so. Luckily there are plugins for almost anything you need to do with Go or what you would expect form and IDE. While this is no where near comprehensive, it will get you writing code, building and testing with the power you would expect from Vim.

Getting Started

I'm assuming you're coming with a clean slate. For me this was OSX so I used MacVim. There is nothing in my config files that assumes this is the case.

@otoolep
otoolep / influxdb-grafana-howto.sh
Last active May 5, 2026 07:20
Shell script to download, and configure, InfluxDB, nginx, and Grafana
#!/bin/bash
# Check out the blog post at:
#
# http://www.philipotoole.com/influxdb-and-grafana-howto
#
# for full details on how to use this script.
AWS_EC2_HOSTNAME_URL=http://169.254.169.254/latest/meta-data/public-hostname
INFLUXDB_DATABASE=test1
@knomedia
knomedia / ember_cli_rails.rake
Last active August 29, 2015 14:00
ember_cli_rails initial thoughts (see: https://github.com/knomedia/ember-cli-rails for a more complete solution)
require 'nokogiri'
namespace :ember_cli_rails do
desc "compile ember and update application.html.erb with ENV vars"
task :build => [:ember, :update_env] do
end
desc 'Build ember app and copies css and js files to rails'
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active September 9, 2026 00:51
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@iclanzan
iclanzan / components.md
Last active July 18, 2025 18:46
UI Component Name Ideas

UI component names

As front-end developers we all know the pain of coming up with meaningful component names for CSS classes. I created this gist as a place to collect terms that are suitable as user interface component names.

Please contribute your own ideas!

Interactive components

  • button
@ReK42
ReK42 / README.md
Last active August 29, 2015 13:57
xkcd #1335

Animating xkcd #1335 with HTML5

The result: [http://xkcd.reknet.ca][1]

Idea

After seeing a nice [HTML/JS version][2] of [xkcd #1340][3] and a comment wondering if the same was possible for the world clock in [xkcd #1335][4] I decided to try my hand at it. The original is loaded from a set of static images, one for every 15 minutes, and refreshed via javascript. Let's see if I can do something similar dynamically.