Instructions for setting up Babel to transpile ES6 to a supported format. Part of the activity in the final class of the Girl Develop It Intro to ES6 course.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('myMdl', []).config(['$httpProvider', function($httpProvider) { | |
$httpProvider.responseInterceptors.push([ | |
'$q', '$templateCache', 'activeProfile', | |
function($q, $templateCache, activeProfile) { | |
// Keep track which HTML templates have already been modified. | |
var modifiedTemplates = {}; | |
// Tests if there are any keep/omit attributes. | |
var HAS_FLAGS_EXP = /data-(keep|omit)/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, subprocess | |
# Global variables | |
EXCLUDE_FOLDERS = ["node_modules", "bower_components", ".git", "uploads"] | |
PRESENT_DIRECTORY = "." | |
def get_git_repo_path(): | |
git_repo_dir_list = [] |
Mini-projects by xem, subzey, aemkei, p01, bburky, rlauck, cmoreau, veu, maettig, thiemowmde
https://github.com/codegolf/pac-man (a PAC-MAN clone in less than 350b - WIP)
http://xem.github.io/miniJSperf/ (a JSperf clone in less than 300b)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/T/fish-2.2b1 ./configure Tue May 19 14:19:20 IST 2015 | |
checking if autoconf needs to be run... no | |
checking if autoheader needs to be run... no | |
checking for g++... g++ | |
checking whether the C++ compiler works... yes | |
checking for C++ compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C++ compiler... yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Download it. | |
# Name it as 'theme' | |
# Place it in /usr/bin/ | |
# shell_prompt$ theme | |
echo ' | |
3024 Day ( 1) 3024 Night ( 2) AdventureTime ( 3) | |
Afterglow ( 4) AlienBlood ( 5) Argonaut ( 6) | |
Arthur ( 7) Atom ( 8) Belafonte Day ( 9) | |
Belafonte Night ( 10) BirdsOfParadise ( 11) Blazer ( 12) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
# | |
# Copyright 2015 Himanshu Mishra | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Don't forget to change the Icon and Exec path to your needs | |
; And save this file into the ~/.local/share/applications/ directory | |
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=Notes | |
Icon=/home/mariocesar/bin/notes.png | |
Exec=/home/mariocesar/bin/notes.py | |
Categories=Accessories; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
"""Usage: | |
X.py < X.in > X.out | |
""" | |
################################################################################ | |
# util functions | |
logging = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*============================================================================= | |
| Program Name: Server-Client Chatting System on same computer(UNIX-based) | |
| | |
| Description: Client-side code | |
| | |
+----------------------------------------------------------------------------- | |
| Author: Himanshu Mishra | |
| Email : [email protected] | |
*===========================================================================*/ |
NewerOlder