This file contains hidden or 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
/* | |
This snippet is esssentially the same as being in the Twitter longer tweets test, for tweetdeck. | |
The Tweet length counter is fixed by tricking TweetDeck into counting up to 140 characters, twice, so you'll see 140 | |
instead of 280 in the counter but going over 140 will give you another set of 140 charactrs. | |
*/ | |
TD.services.TwitterClient.prototype.makeTwitterCall=function(b,e,f,g,c,d,h){c=c||function(){};d=d||function(){};b=this.request(b,{method:f,params:Object.assign(e,{weighted_character_count:!0}),processor:g,feedType:h});return b.addCallbacks(function(a){c(a.data)},function(a){d(a.req,"",a.msg,a.req.errors)}),b}; | |
twttrTxt=Object.assign({},twttr.txt,{isInvalidTweet:function(){return!1},getTweetLength:function(x){return x=twttr.txt.getTweetLength.apply(this,arguments),x<140||x/140>2?x:x%140}}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
/*! | |
* Quill Editor v1.3.0 | |
* https://quilljs.com/ | |
* Copyright (c) 2014, Jason Chen | |
* Copyright (c) 2013, salesforce.com | |
*/ | |
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Quill=e():t.Quill=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=66)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(24),o=n(25),i=n(26),l=n(106),a=n(105),s=n(103),u=n(104),c=n(107),f=n(13),h=n(41),p=n(43),d=n(42),y=n(1) |
This file contains hidden or 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
var y_velocity = velocity.y | |
var dir: Vector3 = Vector3() | |
if x_input != 0: | |
dir += camera.global_transform.basis.x * x_input | |
if y_input != 0: | |
dir += camera.global_transform.basis.z * y_input | |
getdirection(dir) | |
if not is_on_floor(): | |
y_velocity += gravity | |
dir = dir.normalized() * acceleration |
This file contains hidden or 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
# Let's first import the necessary packages | |
# For our data analysis and wrangling | |
import pandas as pd | |
import numpy as np | |
# for our GUI | |
from tkinter import * | |
# For our data visualization | |
import seaborn as sns |
This file contains hidden or 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
import tkinter as tk | |
from tkinter import ttk | |
from tkinter import DISABLED, NORMAL | |
from tkinter import messagebox | |
from PIL import ImageTk, Image | |
counter = 1 | |
class Application(tk.Frame): |
This file contains hidden or 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
<?php | |
?> | |
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<title>SB | Municipal Ordinances </title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<link rel="icon" href="../images/logo1.png"> |
This file contains hidden or 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 _0x1930 = [ | |
"fromCharCode", | |
"stdin", | |
"(\x20*\x20^_^\x20*)\x20eyyyyy!\x20Thank\x20you\x20<3\x20Here\x27s\x20your\x20flag:\x20", | |
"(\x20´\x20v\x20`)\x20Hi!!\x20Soo..?\x20\x20", | |
"aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1BR3ZyRGUzckt4QSZhYl9jaGFubmVsPUphY2tXaWxsaWFtc29uSmFja1dpbGxpYW1zb24=", | |
"8966YpttAc", | |
"log", | |
"stdout", | |
"22aOiAhZ", |
This file contains hidden or 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
def crawl(tracking): | |
content = list() | |
if tracking is not None: | |
b64 = base64.b64encode(tracking.encode('ascii')).decode('ascii') | |
response = requests.get(f"https://www.lbcexpress.com/track/{b64}").content | |
soup = BeautifulSoup(response, "html.parser") | |
status = [x.get_text() for x in soup.find_all(class_='status-tracking')] | |
time = [z.get_text() for z in soup.find_all(class_='date-track-a')] | |
content.append({'status': status, 'time': time}) |
OlderNewer