- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>{% block title %}{% endblock %}</title> | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" /> | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap-theme.min.css" /> |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
#Deploying a Meteor app to Digital Ocean
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
sudo mkdir /shared | |
sudo mkdir /shared/folder | |
sudo chown ubuntuusername:ubuntuusername /shared/folder | |
touch ~/.credentials | |
echo "username=storageaccountname" | sudo tee ~/.credentials | |
echo "password=azureaccesskey" | sudo tee ~/.credentials | |
chmod 600 ~/.credentials | |
echo "" | sudo tee -a /etc/fstab | |
echo "//storageaccountname.file.core.windows.net/filesharename /shared/folder cifs vers=2.1,credentials=/home/username/.credentials 0 0" | sudo tee -a /etc/fstab |
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
Disclaimer: The instructions are the collective efforts from a few places online. | |
Nothing here is my original. But I want to put them together in one place to save people from spending the same time as I did. | |
First off, bundle. | |
================== | |
1. cd to the project directory | |
2. Start the react-native packager if not started | |
3. Download the bundle to the asset folder: | |
curl "http://localhost:8081/index.bundle?platform=android&dev=false&minify=true" -o "android/app/src/main/assets/index.android.bundle" |
This file has been truncated, but you can view the full file.
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
[{"main_category_name": "ACİL SAĞLIK HİZMETLERİ", "sub_category_name": "ACİL KURTARMA TEKNİKLERİ", "document": "http://megep.meb.gov.tr/mte_program_modul/moduller_pdf/Ambulanslar.pdf"}, {"main_category_name": "ACİL SAĞLIK HİZMETLERİ", "sub_category_name": "ACİL KURTARMA TEKNİKLERİ", "document": "http://megep.meb.gov.tr/mte_program_modul/moduller_pdf/Hasta Taşıma Teknikleri.pdf"}, {"main_category_name": "ACİL SAĞLIK HİZMETLERİ", "sub_category_name": "ACİL KURTARMA TEKNİKLERİ", "document": "http://megep.meb.gov.tr/mte_program_modul/moduller_pdf/Kurtarma.pdf"}, {"main_category_name": "ACİL SAĞLIK HİZMETLERİ", "sub_category_name": "ACİL KURTARMA TEKNİKLERİ", "document": "http://megep.meb.gov.tr/mte_program_modul/moduller_pdf/Mesleki Hak Ve Sorumluluklar.pdf"}, {"main_category_name": "ACİL SAĞLIK HİZMETLERİ", "sub_category_name": "ACİL KURTARMA TEKNİKLERİ", "document": "http://megep.meb.gov.tr/mte_program_modul/moduller_pdf/Triaj.pdf"}, {"main_category_name": "ACİL SAĞLIK HİZMETLERİ", "sub_category_name": "ACİL SA |
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
/* | |
Firmata is a generic protocol for communicating with microcontrollers | |
from software on a host computer. It is intended to work with | |
any host computer software package. | |
To download a host software package, please click on the following link | |
to open the list of Firmata client libraries in your default browser. | |
https://github.com/firmata/arduino#firmata-client-libraries |
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
pragma solidity ^0.4.25; | |
// This contract is an example, not to be used in production | |
// One example issue is that there are potential overflow/underflow bugs. | |
contract UnsafeERC20 { | |
mapping (address => uint256) private _balances; | |
uint256 private _totalSupply; | |
OlderNewer