As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
1) Create a branch with the tag | |
git branch {tagname}-branch {tagname} | |
git checkout {tagname}-branch | |
2) Include the fix manually if it's just a change .... | |
git add . | |
git ci -m "Fix included" | |
or cherry-pick the commit, whatever is easier | |
git cherry-pick {num_commit} | |
#!flask/bin/python | |
from flask import Flask, jsonify, abort, request, make_response, url_for | |
from flask_httpauth import HTTPBasicAuth | |
app = Flask(__name__, static_url_path = "") | |
auth = HTTPBasicAuth() | |
@auth.get_password | |
def get_password(username): | |
if username == 'miguel': |
class Node(): | |
def __init__(self,key): | |
self.key = key | |
self.left = None | |
self.right = None | |
self.parent = None | |
class Tree(): |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
Run this command to install MG-CLI: | |
sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb | |
to start miner (4 cores for BCN) use this command: | |
minergate-cli -user <YOUR@EMAIL.KAPPA> -bcn 4 | |
Feel free to send some of your earnings to me: | |
BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j |
The catch is that they're only available for the duration of your session. They are, however, available in all apps across the system.
Someone asked about how to do it on Facebook this week, and at first, I just pointed them at the install script for PowerLineFonts which loops through all the fonts in a folder and install them.
I've used this more than a few times to install some fonts, including the PowerLine ones, which are great:
$sa = New-Object -ComObject Shell.Application
#!/bin/sh | |
# Example usage: | |
# ./generateAndroidDrawables.sh my_image.png 140 /absolute/path/to/android/res/drawables | |
# | |
# Will generate 140dp android drawables for 6 DPI on out/my_image.png/ directory. | |
# Be sure your original image has sustainable resolution for xxxhdpi drawable, | |
# which is 140 x 4 PX in case of this example. | |
# | |
# Requires ImageMagic | |
# SVG conversion recommended to be done with Inkscape: |
# Run the following commands in the terminal/command line: | |
# pip install l293d | |
# or (I had to run as root): | |
# sudo pip install l293d | |
# | |
# I also needed to install Yaml | |
# So: | |
# pip install pyyaml | |
# or I had to run with sudo: | |
# sudo pip install pyyaml |
We like to use etherpad to plan most things. We use the instance hosted under wikimedia. They should be backed up regularly.
Etherpad we used to plan stuff early on.