- Enter base64 encoded password on line 9
- Save router.js to your bitbar plugins folder
- Run
chmod +x router.js
- Enjoy
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
window.weatherRU = JSON.parse('{ "3200": "состояние погоды недоступно", "47": "изолированные грозы", "46": "снег", "45": "гроза", "44": "немного облачно", "43": "снегопад", "42": "разбросанный снегопад", "41": "снегопад", "40": "разбросанные дожди", "39": "разбросанная гроза", "38": "разбросанная гроза", "37": "изолированная гроза", "36": "жарко", "35": "дождь с градом", "34": "немного облачно", "33": "немного облачно", "32": "солнечно", "31": "небо чистое", "30": "частично облачно", "29": "частично облачно", "28": "довольно облачно", "27": "довольно облачно", "26": "облачно", "25": "холодно", "24": "ветренно", "23": "сильный ветер", "22": "задымлено", "21": "дымка", "20": "туман", "19": "пыль", "18": "слякоть", "17": "град", "16": "снег", "15": "сильная метель", "14": "лёгкий снег", "13": "метель", "12": "дождь", "11": "дождь", "10": "холодный дождь", "9": "моросящий дождь", "8": "холодный моросящий дождь", "7": "слякоть", "6": "слякоть", "5": "дождь со снегом", "4": "гроза", "3": "сильная гроза", "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
#include <Arduino.h> | |
#include <Event.h> | |
#include <Timer.h> | |
#include <EEPROM.h> | |
#include <ArduinoJson.h> | |
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266WebServer.h> | |
#include <ESP8266mDNS.h> | |
#include <YoutubeApi.h> |
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
while true { | |
var cardCode: [ColorValue] = [] | |
ev3.display(text: "Insert card", atX: 0, atY: 0, withColor: .black, withFont: .large, clearScreen: true) | |
ev3.waitForUltrasonicCentimeters(on: .four, lessThanOrEqualTo: 6) | |
ev3.display(text: "Reading...", atX: 0, atY: 0, withColor: .black, withFont: .large, clearScreen: true) | |
ev3.waitFor(seconds: 0.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
{ | |
"days": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"], | |
"schedule": { | |
"Monday": ["Maths", "Russian", "English", "Maths", "Literature", "Geografeeeea"], | |
"Tuesday": ["ICT", "ICT", "Russian", "Maths", "Literature", "PE"], | |
"Wednesday": ["Russian", "Russian", "Biology", "English", "Maths", "Maths"], | |
"Thursday": ["Maths", "English", "Project - History", "Project - History", "History", "PE"], | |
"Friday": ["History", "Geography", "Project - Biology", "Project - Biology", "Russian", "Literature"] | |
} | |
} |
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
#!/bin/sh | |
echo "[SCRIPT] Creating temporary clone directory" | |
tempdir=`mktemp -d` | |
echo "[SCRIPT] Cloning to $tempdir" | |
git clone https://github.com/gbougakov/lessontimer.git $tempdir | |
if [ ! -f $tempdir/index.html ]; then | |
echo "Clone failed :(" | |
exit | |
fi | |
echo "[SCRIPT] Moving files" |
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
<div class="uk-flex uk-flex-middle uk-flex-center uk-padding-large" uk-height-viewport> | |
<div class="uk-width-1-1 uk-width-1-3@m uk-text-center"> | |
<h1 class="uk-text-bold uk-margin-remove">ahem.wtf</h1> | |
<p class="uk-margin-remove">Need a random WTF GIF? Just type <code>https://ahem.wtf</code> in almost any message field.</p> | |
<div class="uk-margin-small-top"> | |
<div class="uk-grid-match" uk-grid> | |
<div class="uk-width-expand"> | |
<input type="text" class="uk-input" </div> | |
</div> | |
</div> |
I hereby claim:
- I am gbougakov on github.
- I am gbougakov (https://keybase.io/gbougakov) on keybase.
- I have a public key ASB5AkuCbShvlU7nwHAXBS28xmW1rVOgGjhkIkEVJ1nfYwo
To claim this, I am signing this object:
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
// | |
// SATextField.swift | |
// Originally created by @valvolinne. Extracted into a separate file and improved by @gbougakov | |
// | |
import SwiftUI | |
import UIKit | |
class WrappableTextField: UITextField, UITextFieldDelegate { | |
var textFieldChangedHandler: ((String)->Void)? |
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
[{"id":0,"question":"What was a rumor that went around about you?"},{"id":1,"question":"Have you ever failed a class?"},{"id":2,"question":"If you had the power to fire one teacher, who would that be?"},{"id":3,"question":"If you could plan a class prank knowing you'll never get caught, what would the prank be?"},{"id":4,"question":"Have you ever cheated on a test?"},{"id":5,"question":"Have you ever had a crush on a teacher? Who?"},{"id":6,"question":"Who would you take to prom?"},{"id":7,"question":"Have you ever made out at school?"},{"id":8,"question":"Who would you never ever want to sit next to in class?"},{"id":9,"question":"Have you ever been late to class?"},{"id":10,"question":"What's the most embarrassing thing you've ever done in front of a teacher?"},{"id":11,"question":"Have you ever stuck gum under a desk?"},{"id":12,"question":"What do you think is better: tests or essays?"},{"id":13,"question":"Have you ever eaten lunch by yourself? Why?"},{"id":14,"question":"If you had to take one class for |
OlderNewer