I hereby claim:
- I am snorflake on github.
- I am ar1a (https://keybase.io/ar1a) on keybase.
- I have a public key ASC6z89Mc4WhmOD5Xnkm-ic7V4maHEfExwJR37k1LCcCeAo
To claim this, I am signing this object:
require 'bigdecimal' | |
module SIValue | |
PREFIX_MAGNITUDES = { | |
'm' => 6, 'k' => 3, 'b' => 9 | |
} | |
# Returns BigDecimal | |
def self.from(str) | |
#!/usr/bin/env ruby | |
# Copyright 2017 Aria | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWAR |
I hereby claim:
To claim this, I am signing this object:
#include <SPI.h> | |
#include <MFRC522.h> | |
#include <MD5.h> | |
#include <Servo.h> | |
const int servo_pin = 3; | |
const int servo_lock = 0; | |
const int servo_unlock = 180; | |
Servo lock; |
#include <Servo.h> | |
Servo tilt; | |
Servo pan; | |
/* | |
* tilt_pin and pan_pin must be PWM pins! | |
* adjust values to your liking | |
* uses standard hjkl for movement | |
* "r" resets it to the middle |
[11:41 PM] Miss Aria: is it bad | |
[11:41 PM] Miss Aria: that im running a redis server? | |
[11:41 PM] Lixquid: what are you running it for | |
[11:41 PM] Miss Aria: the bot | |
[11:41 PM] Miss Aria: for message queues | |
[11:41 PM] Miss Aria: lol | |
[11:41 PM] Lixquid: wh | |
[11:41 PM] Lixquid: why | |
[11:41 PM] Miss Aria: bc discord is so shit i need to use a FIFO system instead of just firing them | |
[11:41 PM] Miss Aria: because it has a 200-2000ms delay |
// modified from original shit Altimor posted | |
class Dynamic_interface | |
{ | |
struct Interface_linked_list { | |
void* (*func)(); | |
const char* name; | |
Interface_linked_list* next; | |
}; | |
Interface_linked_list* interface_list; |
--- | |
BasedOnStyle: google | |
IndentWidth: 2 | |
--- | |
Language: Cpp | |
DerivePointerAlignment: false | |
PointerAlignment: Left | |
BreakBeforeBraces: Linux | |
##TabWidth: 2 | |
##ColumnLimit: 80 |
this is all presumed working with an existing project, when you make a new project with github it gives you the commands | |
add files that have been changed/added/deleted/anything'd | |
git add --all | |
make a commit | |
git commit -m "short description" | |
push to server | |
git push |
nav.navbar.navbar-default>.container-fluid>.navbar-header>button[type=button data-toggle=collapse data-target=#navbar].navbar-toggle>span.icon-bar*3^a[href=#].navbar-brand{Title}^.collapse.navbar-collapse#navbar>ul.nav.navbar-nav>li*3>a[href=#]{Link} |