(Serial port or com port? - Serial ports are often refered as COM ports. It is the same to be short. You can read abut it in the Wiki article )
Discover gists
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
I've recently joined Amazon Dublin from India and got opportunities to interview with Meta London, Zalando Berlin & some other companies. I extensively researched about companies hiring internationally which support visa & relocation for Tech roles. So sharing list of companies:
Do consider to STAR, if it helped you.
London
Moved to git-repository: https://github.com/denji/awesome-http-benchmark
Located in alphabetical order (not prefer)
- ab – slow and single threaded, written in
C
- apib – most of the features of ApacheBench (
ab
), also designed as a more modern replacement, written inC
- autocannon – fast HTTP/1.1 benchmarking tool written in Node.js
- baloo – Expressive end-to-end HTTP API testing made easy, written in Go (
golang
)
let widget = await createWidget(); | |
if (!config.runsInWidget) { | |
await widget.presentSmall(); | |
} | |
Script.setWidget(widget); | |
Script.complete(); | |
async function createWidget(items) { |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
- This logger config is copied from https://gist.github.com/stephan-gh/e85abdaf419fa3636c55848cf0ca2e1b | |
- This logger config is copied from https://gist.github.com/ItsFlare/f8767a4e7da6e5332fbe7a1a69abe279 | |
- | |
- To use this file, add this to JVM args: -Dlog4j.configurationFile=log4j2.xml | |
- | |
- For more information, see | |
- https://logging.apache.org/log4j/2.0/manual/filters.html | |
--> |
<?php | |
namespace App\Services; | |
class DateConverter | |
{ | |
public static $Day; | |
public static $Month; | |
public static $Year; |
#!/usr/bin/env bash | |
CLIENT_DB="$HOME/Library/Application Support/CloudDocs/session/db/client.db" | |
[[ -e $CLIENT_DB ]] || { echo "db not found"; exit 1; } | |
mapfile -t ITEM_IDS < <(sqlite3 "$CLIENT_DB" <<-EOS | |
SELECT throttle_id | |
FROM client_sync_up | |
EOS | |
) |
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
Ultra-compact sprite rendering code with example frame animation logic. This release contains tech bits from the upcoming SuperNeo™ 2D game engine and includes rotation, anchor/pivot point, color filtering, alpha blending and built-in antialiased point sampling. As usual: complete, runnable single-function app. ~150 LOC. No modern C++, OOP or (other) obscuring cruft.
Sprites are rendered back-to-front (AKA "painter's algorithm") in the order they are submitted, as one draw call. The provided setup employs a single texture atlas containing all the sprite graphics.
The renderer is "im