[ Launch: simple treema ] 8058049 by lminko[ Launch Inlet ]Gist #2958196 No Previous Gist
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
from inspect import signature | |
class BaseClass: | |
def __repr__(self) -> str: | |
fields = signature(self.__init__).parameters | |
values = ', '.join(repr(getattr(self, f)) for f in fields) | |
return f'{type(self).__name__}({values})' |
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
From 9738b5ebd677ec5fff3be4ba83e76488b66f076b Mon Sep 17 00:00:00 2001 | |
From: Gordian Edenhofer <[email protected]> | |
Date: Tue, 26 Jul 2016 15:05:18 +0200 | |
Subject: [PATCH] Fix compilation errors encountered with kernel 4.6 | |
Inspired by Rene Ploetz's <[email protected]> patch for chenhaiq's repository. | |
Signed-off-by: Gordian Edenhofer <[email protected]> | |
--- | |
chips/mt76x0.c | 2 +- |
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
" Pathogen | |
" execute pathogen#infect() | |
" Simple VIM config | |
set pastetoggle=<F2> | |
set clipboard=unnamedplus | |
set guifont=Dejavu\ Sans\ Mono\ for\ Power\ line\ 10 | |
set background=dark | |
" colorscheme classic-bright |
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
1. | |
Enable developer menu. | |
Settings -> Device information -> More Information -> Developer Menu (enabled) | |
Settings -> Developer -> Debugging via USB (select ADB and DevTools) | |
(Note: adb can't access the device while it is in locked state.) | |
2. | |
Download and update base image (Base image v188.zip) from | |
https://developer.mozilla.org/en-US/Firefox_OS/Phone_guide/Flame/Updating_your_Flame |
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
command-shift-P > Package > Package Generator: Generate Syntax Theme > mypackage | |
cd ~/.atom/packages/mypackage | |
apm login | |
apm develop mypackage | |
cd ~/github/mypackage | |
sudo chown -R username:wheel . | |
git commit -a -m 'checking everything in' | |
apm publish --tag v2.5.0 minor |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Fri Jan 24 18:01:21 2014 | |
@author: lmk | |
@description: k-means clustering | |
""" | |
#import sys |
[ Launch: simple treema ] 8057427 by lminko[ Launch Inlet ]Gist #2958196 No Previous Gist