Skip to content

Instantly share code, notes, and snippets.

On learning spree!

Rahul P r4hulp

On learning spree!
View GitHub Profile
tomhazledine / calculate_reading_time.php
Created Nov 16, 2016
Calculate Reading Time (for WordPress content)
View calculate_reading_time.php
* Calculate an approximate reading-time for a post.
* @param string $content The content to be measured.
* @return integer Reading-time in seconds.
function reading_time( $content ) {
DevWurm / entry.js
Last active Mar 4, 2019
angular-cli Electron configuration
View entry.js
const {app, BrowserWindow} = require('electron')
const path = require('path')
const url = require('url')
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let win
function createWindow () {
// Create the browser window.
alirobe / reclaimWindows10.ps1
Last active Oct 30, 2020
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of (different defaults). N.…
View reclaimWindows10.ps1
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <>
# Modified by: alirobe <> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source:
# Tweaked Source:
# Tweak difference:
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
You can’t perform that action at this time.