Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
Discover gists
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
sudo yum update | |
sudo yum install ruby | |
sudo yum install wget | |
wget https://{bucket-name}.s3.amazonaws.com/latest/install | |
chmod +x ./install | |
sudo ./install auto | |
## bucket-name represents one of the following: | |
## aws-codedeploy-us-east-1 for instances in the US East (N. Virginia) region | |
## aws-codedeploy-us-west-1 for instances in the US West (N. California) region |
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
#!/usr/bin/env python3 | |
from pymavlink import mavutil, mavlink | |
class CourseAverager: | |
MSG_TYPE = 'GLOBAL_POSITION_INT' | |
def __init__(self, mavlink_connection, request_rate=1, decay_rate=0.95, initial_course=(0, 0)): | |
self.master = mavlink_connection | |
self.request_message(request_rate) |
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
// Package main is a sample macOS-app-bundling program to demonstrate how to | |
// automate the process described in this tutorial: | |
// | |
// https://medium.com/@mattholt/packaging-a-go-application-for-macos-f7084b00f6b5 | |
// | |
// Bundling the .app is the first thing it does, and creating the DMG is the | |
// second. Making the DMG is optional, and is only done if you provide | |
// the template DMG file, which you have to create beforehand. | |
// | |
// Example use: |
Note that this script will try to auto install OpenFoam from souce (which means will download source code) and then compile on local machine. This script is primarily targated at installing old-releases of OpenFOAM which do not have binary installation packages pre-compiled on APT.
The entire installation time cost approximately 2-6 hours depends on network bandwidth and CPU memory power.
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
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
public class Result | |
{ | |
protected internal Result(bool isSuccess, Error error) | |
{ | |
if (isSuccess && error != Error.None) | |
{ | |
throw new InvalidOperationException(); | |
} | |
if (!isSuccess && error == Error.None) |
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
// ==UserScript== | |
// @name Aternos Anti Anti-adblock | |
// @namespace r0630hh1edcuum5397kimyc0ucwy2h3psn4c6r1u4j | |
// @version 0.1.23 | |
// @description Fuck anti-adblock from the free hosting minecraft servers Aternos.org. Parry this you filthy casual! | |
// @author Angry Developer against excessive ADs | |
// @source https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a | |
// @supportURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a | |
// @updateURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a/raw/aternosAntiAntiadblock.user.js | |
// @downloadURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a/raw/aternosAntiAntiadblock.user.js |
NewerOlder