Value | Color |
---|---|
\e[0;30m | Black |
\e[0;31m | Red |
\e[0;32m | Green |
\e[0;33m | Yellow |
\e[0;34m | Blue |
\e[0;35m | Purple |
I had a lot of trouble setting this up, the guides out there don't seem complete. I used various guides and troubleshooting sites to get all of this figured out.
NOTE: My server's internal IP address is 10.10.10.100
, you will need to substitute yours where appropriate.
- Server Side
import subprocess | |
from threading import Thread | |
from time import time | |
from typing import Union | |
from queue import Queue | |
class SubprocessInputStreamer: | |
_end_of_stream = object() |
<script> | |
jQuery( document ).ready( function() { | |
/* Form ID #5 */ | |
var formID = 5; | |
var category = 'Email List'; | |
var action = 'Subscribed'; | |
var label = 'New Subscriber'; | |
jQuery( document ).on('click', '.nf-form-' + formID + '-cont input[type=button]', function() { | |
ga('send', 'event', category, action, label ); |
This video and step-by-step walk-through provide an introduction to Code First development targeting an existing database. Code First allows you to define your model using C# or VB.Net classes. Optionally additional configuration can be performed using attributes on your classes and properties or by using a fluent API.
See the video that accompanies this step-by-step walkthrough.
Manually curated collection of resources for frontend web developers.
You are viewing the TGF (Totally Gigantic File). Proceed to frontend-dev-bookmarks for a browsable version.
[](https://flattr.com/submit/auto?fid=3nlo5p&url=https%3A%2F%2Fgithub.com%2Fdypsilon%2Ffrontend
- node.js
- Installation paths: use one of these techniques to install node and npm without having to sudo.
- Node.js HOWTO: Install Node+NPM as user (not root) under Unix OSes
- Felix's Node.js Guide
- Creating a REST API using Node.js, Express, and MongoDB
- Node Cellar Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB
- JavaScript Event Loop
- Node.js for PHP programmers
import ui | |
import requests | |
import clipboard | |
from console import hud_alert | |
from bs4 import BeautifulSoup | |
def start_scrape(sender): | |
v = sender.superview | |
#hud_alert('enter a valid URL') | |
surl = v['surl'].text |
/// <summary> Fast file move with big buffers | |
/// </summary> | |
/// <param name="source">Source file path</param> | |
/// <param name="destination">Destination file path</param> | |
static void FMove (string source, string destination) | |
{ | |
int array_length = (int) Math.Pow (2, 20); | |
byte[] dataArray = new byte[array_length]; | |
FileStream fsread = new FileStream (source, FileMode.Open, FileAccess.Read, FileShare.None, array_length * 2); |