Skip to content

Instantly share code, notes, and snippets.

View map_crimea
This file has been truncated, but you can view the full file.
{
"bbox": [-180, 41.18678, 180, 81.857324],
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"properties": {
"name": "Бурятия",
"cartodb_id": 10,
"created_at": "2013-12-04T04:23:51+0100",
@MazenKilani
MazenKilani / BooksByPublicationYearTableViewController.swift
Created Apr 15, 2021
BooksByPublicationYearTableViewController
View BooksByPublicationYearTableViewController.swift
class BooksByPublicationYearTableViewController: UITableViewController {
var queryBooks: [Book] = []
var queryTitle = "Pub Year"
// Section Headers; we need 3 arrays
var sectionHeaderTitles = [String]() // string array of section headers (Pub Years)
var sectionBooks = [Book]() // array of one section
var sectionBooksArrays = [[Book]]() // array of arrays, each array is one section books
let dateFormatter = DateFormatter() // Needed to extract the Year from Publication Date
View openpanzer-save.json
{"scenario":{"name":"Suomussalmi","maxTurns":22,"date":"1939-12-25T22:00:00.000Z","atmosferic":3,"latitude":2,"ground":1,"turnsPerDay":2,"dayTurn":0,"reinforcements":{},"map":{"rows":34,"cols":31,"isLastRowPartial":false,"isLastColPartial":false,"map":[[{},{"unit":null,"airunit":null,"terrain":3,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{},{"unit":null,"airunit":null,"terrain":3,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{},{"unit":null,"airunit":null,"terrain":3,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{},{},{},{},{},{},{},{"unit":null,"airunit":null,"terrain":3,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":3,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSe
@hellsalve017196
hellsalve017196 / tp link TP-Link Nano AC600
Created Apr 15, 2021
tp link TP-Link Nano AC600 linux
View tp link TP-Link Nano AC600
View AnimationName-1618464864572-556.css
.css-selector {
    background: linear-gradient(88deg, #fc466b, #3f5efb);
    background-size: 400% 400%;
    -webkit-animation: AnimationName 30s ease infinite;
    -moz-animation: AnimationName 30s ease infinite;
    -o-animation: AnimationName 30s ease infinite;
    animation: AnimationName 30s ease infinite;
}
@-webkit-keyframes AnimationName {
    0%{background-position:0% 53%}
View !blockers!.md
  GH#4278 recent changes broke non-simple MAIN usages
  GH#4009 gmake fails on windows
View liveGameAPIAddress.js
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
async function getLiveGameAPIAddress() {
return new Promise((resolve, reject) => {
const exec = require('child_process').exec;
const fetch = require("node-fetch");
exec('tasklist', function (err, stdout, stderr) {
const leagueLine = stdout.split("\n").filter(l => l.startsWith("League of Legends.exe"))[0];
if (leagueLine == null) {
reject("No League of Legends client found");
@confluencepoint
confluencepoint / leicae57.md
Created Apr 15, 2021
Konvertierung von LEICA .e57-Dateien in Scantra kompatibles Format
View leicae57.md
CloudCompare.exe -SILENT -O Quelldatei.e57 -C_EXPORT_FMT E57 -SAVE_CLOUDS FILE Zieldatei.e57
@heriksevak
heriksevak / kireh.py
Last active Apr 15, 2021
simple situation game
View kireh.py
def challange_1():
print("welcome to the kreh game")
print("you set off with your family")
print("you hear screams")
print("a bear attacks you and your little son")
print("you have a choice")
print("a. grab a gun")
print("b. run for your life")
user_input = input()