$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes
| // Run Redis - cd redis-2.2.4 and run src/redis-server | |
| var sip = require('sip'); | |
| var sys = require('sys'); | |
| var redis = require('redis'); | |
| var tropoapi = require('tropo-webapi'); | |
| //Trim leading and trailing whitespace from string values. | |
| function trim(str) { | |
| return str.replace(/^\s+|\s+$/g, ''); |
| #!/usr/bin/env python3 | |
| """ | |
| Script to test HTTP mirrors of Cygwin by measuring download times. | |
| Originally written in 2011, modernized in 2025. | |
| """ | |
| from math import floor | |
| from urllib.request import urlopen | |
| import argparse | |
| import sys |
| /** | |
| * Mule Development Kit | |
| * Copyright 2010-2011 (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * |
| <? | |
| class Lock { | |
| const TIMEOUT = 20; | |
| const SLEEP = 100000; | |
| /** | |
| * Stores the expire time of the currently held lock | |
| * @var int |
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
I've never had great understanding of launchctl but the deprecation of the old commands with launchctl 2 (10.10) has been terrible as all resources only cover the old commands, and documentation for Apple utilities is generally disgracefully bad, with launchctl not dissembling.
Mad props to https://babodee.wordpress.com/2016/04/09/launchctl-2-0-syntax/ which contains most details
Internally, launchd has several domains, but launchctl 1 would only ask for service names,
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.AspNetCore.Mvc.Infrastructure; | |
| using Microsoft.AspNetCore.Mvc.Internal; | |
| using Microsoft.AspNetCore.Routing; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Newtonsoft.Json; | |
| using System; | |
| using System.Linq; | |
| using System.Threading.Tasks; |
For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):
List All System Images Available for Download: sdkmanager --list | grep system-images
Download Image: sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"
| #! /usr/bin/env python3 | |
| import time | |
| import jwt | |
| import json | |
| import requests | |
| from datetime import datetime | |
| from collections import defaultdict | |
| import matplotlib.pyplot as plt |