Skip to content

Instantly share code, notes, and snippets.

View CharlesNjau's full-sized avatar
🏠
Working from home

Charles Njau CharlesNjau

🏠
Working from home
  • Tanzania,Dar es salaam
View GitHub Profile
@Jswizzy
Jswizzy / InstallingSwift.md
Last active October 28, 2024 20:04
Swift Install Instruction 20.04

Installing Swift on Ubuntu 20.04

1. Install Depencies

“clang”[ˈklæŋ] is the compiler based on LLVM for C, C++, Objective-C, and Objective-C++. clang is needed to install in order to Swift. Run the following code in Ubuntu terminal.

Before installing swift “libpython2.7” and “libpython2.7-dev” are needed to get Swift running. Run the following code.

@mtimbs
mtimbs / .gitlab-ci.typescript-example.yml
Last active August 15, 2023 04:17
Example Gitlab CI config for a typescript serverless proeject
image: docker:latest
cache:
paths:
- node_modules/
stages:
- build
- precheck
- test
@bradtraversy
bradtraversy / mongodb_cheat_sheet.md
Last active April 30, 2025 21:07
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@ernestkamara
ernestkamara / AdbCommands
Created June 26, 2018 08:42 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@greenido
greenido / cUrl_proxy.php
Created May 13, 2012 18:31
php script that act as a proxy server by using good/old simple cUrl (GET and POST)
<?php
//
// basic basic proxy
//
function postToString() {
$query_string = "";
if ($_POST) {
$kv = array();
foreach ($_POST as $key => $value) {