Short (72 chars or less) summary
More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).
Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
Chinese Brand "ITworks" , Model TW891, distributed in France and Belgium by Darty
- CPU: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz
- Video: Intelยฎ HD Graphics for Intel Atomยฎ Processor Z3700 Series
- Screen: 1280x800
- WiFi + BT: Realtek RTL8723BS_BT
- Disks: mmcblk1: mmc1:0001 DF4032 29.1 GiB
- RAM: 2GB DDR3 @ 1333 MHz
We played generals.io over the weekend. It gives some solid adrenaline rushes but we are prob going to take a break from it due to that and other priorities.
Quick tips:
- Use click + WASD to queue up traversals quickly (on your own squares you can chain it multiple times)
- Cities repopulate if not fully captured, be sure to have +2 to city count (1 for wipe out, 1 for move in)
Here is what we learned as some strategies:
- In 1v1, maps are set up with generals at 2 sides (e.g. North/South, East/West, Northwest/Southeast)
This file contains hidden or 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
| """ | |
| helloevolve.py implements a genetic algorithm that starts with a base | |
| population of randomly generated strings, iterates over a certain number of | |
| generations while implementing 'natural selection', and prints out the most fit | |
| string. | |
| The parameters of the simulation can be changed by modifying one of the many | |
| global variables. To change the "most fit" string, modify OPTIMAL. POP_SIZE | |
| controls the size of each generation, and GENERATIONS is the amount of | |
| generations that the simulation will loop through before returning the fittest |
This file contains hidden or 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 gym | |
| import numpy as np | |
| import random | |
| import math | |
| from time import sleep | |
| ## Initialize the "Cart-Pole" environment | |
| env = gym.make('CartPole-v0') |
There are two ways to authenticate on IRC server:
- Identify nick with
NickServ; - Using the
PASScommand in theIRCprotocol (not supported in the Thunderbird UI).
If your server or bouncer requires [2], set the following preferences as string values:
messenger.account.accountN.options.serverPassword
messenger.account.accountN.options.username
This file contains hidden or 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 requests | |
| import subprocess | |
| import json | |
| import sys | |
| import threading | |
| import time | |
| from Queue import Queue | |
| import urllib3 | |
| import urllib3.contrib.pyopenssl |
This file contains hidden or 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
| <p class="love">Made with <i class="icon ion-heart"></i> by Brian Gardner</p> |
This file contains hidden or 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
| from flask import Flask, request | |
| from nameko.standalone.rpc import ServiceRpcProxy | |
| app = Flask(__name__) | |
| @app.route('/') | |
| def task_list(): | |
| return """ | |
| <html> |
This file contains hidden or 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
| --3demo | |
| --simple 3d demo | |
| -- Here is the data for the 3d model | |
| -- The first section is the 3d location | |
| -- of each point on the cube, and the | |
| -- second section is the lines that | |
| -- connect the points | |
| cube = {{{-1,-1,-1}, -- points | |
| {-1,-1,1}, |