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
// Copyright 2015 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'dart:async'; | |
import 'dart:ui'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/widgets.dart'; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar"> | |
<!-- Show a splash screen on the activity. Automatically removed when | |
Flutter draws its first frame --> | |
<item name="android:windowBackground">@drawable/launch_background</item> | |
</style> | |
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> | |
<!-- Customize your theme here. --> |
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 <stdio.h> | |
#include <curl/curl.h> | |
#include <iostream> | |
#include <unistd.h> | |
size_t CurlWrite_CallbackFunc_StdString(void *contents, size_t size, size_t nmemb, std::string *s) | |
{ | |
size_t newLength = size * nmemb; | |
size_t oldLength = s->size(); | |
try |
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
javascript:(function() {var followBTNs = document.getElementsByClassName("follow-text");var follow = function() {for (var i = 0; i < followBTNs.length; i++) { followBTNs[i].click(); if (i === (followBTNs.length - 1)) { window.location.reload(); } } }; follow(); })(); |
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
body {padding-top:50px;} | |
td { | |
border-top: none !important; | |
} | |
.row { | |
padding-bottom: 10px; | |
} | |
.box { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>TV Series Search</title> | |
<link href="https://fonts.googleapis.com/css?family=VT323" rel="stylesheet"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
</head> |
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
const config = require('../config.js'); | |
const cache = require('./cache.js'); | |
function ticketHandler(bot, ctx) { | |
ctx.getChat().then(function(chat) { | |
if (chat.id.toString() === config.staffchat_id) { | |
// let staff handle that | |
staffChat(ctx, bot, chat); | |
} else if (chat.type === 'private') { | |
// create a ticket and send to staff |
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
int button[5]; | |
bool curPressed[5]; | |
bool pressedD = false; | |
bool pressedM = false; | |
void setup() | |
{ | |
Serial.begin(38400); | |
} | |
void loop() |
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 <iostream> | |
std::string exec(std::string cmd) { | |
std::string data; | |
FILE * stream; | |
const int max_buffer = 256; | |
char buffer[max_buffer]; | |
cmd.append(" 2>&1"); | |
stream = popen(cmd.c_str(), "r"); |
OlderNewer