Skip to content

Instantly share code, notes, and snippets.

@ppoffice
ppoffice / README.md
Last active May 26, 2026 13:00
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y
@inecmc
inecmc / notes.md
Created April 28, 2017 03:21
Get different size of user picture in Facebook and Google

Facebook

https://graph.facebook.com/<VERSION>/me?fields=picture.width(<WIDTH>).height(<HEIGHT>)

Google

// Remove or specify the value the sz parameter 
https://.../photo.jpg?sz=50
@momin-riyadh
momin-riyadh / nodeServer.js
Created November 17, 2016 05:02
nodeserver
var http = require('http');
var port = 3000;
var server = http.createServer(function (request, response) {
response.writeHead(200,{'content-type':'text/plain'});
response.write("Hello From Momin ! Server running");
response.end();
});
server.listen(port);
console.log('Server working !' + port);
@jQsafi
jQsafi / gtext.php
Created October 1, 2015 18:38
Google texter - v0.2
<?php
/*
** Google texter - v0.2
** This experimental script creates a random text by
** using google search as source.
**
** Warning: Do not execute this script on a webserver!
** This script was made to execute from a command line.
**