Skip to content

Instantly share code, notes, and snippets.

@newphp
newphp / License Sublime Text 3.2.2.md
Created November 22, 2021 02:16 — forked from nobojithalder/License Sublime Text 3.2.2.md
License for Sublime Text Version 3.2.2, Build 3211

If anyone's looking for a solution for licensing Sublime Text!

Here goes an easy tutorial on how to register, Sublime Text Version 3.2.2, Build 3211

  • Go to https://hexed.it/
  • Click on "Open file" and select "sublime_text.exe" executable file. [This 'sublime_text.exe' file should be located at C:\Program Files\Sublime Text 3]
  • Go to "Search" and in "Search for" field, search for "97 94 0D" and click "Search now" button.
  • One result will appear below, click on it.
@newphp
newphp / ffmpeg.md
Created September 27, 2019 14:08 — forked from eyecatchup/ffmpeg.md
Some common ffmpeg commands, I tend to forget..

cut sequence from mp4 video

ffmpeg -ss <start_time_hh:ii:ss> -i input.mp4 -to <length_in_hh:ii:ss_from_start> -c copy ./out.mp4
ffmpeg -ss 00:47:42 -i input.mp4 -to 00:01:49 -c copy ./out.mp4

create thumbnail images from input video (@30fps)

@newphp
newphp / gist:3100af09c5c1e1f36005a0144c7e8c96
Last active October 18, 2017 20:13 — forked from lsauer/gist:2907369
Google Chrome special pages for memory, debug, resources, profiling, downloads...

lsauer.com


Overview of all chrome:// pages.

  • List by calling chrome://about/
  • Following is a direct dump from the 'about' page for reference

List of Pages as per v20.xxx

/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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
*
* Unless required by applicable law or agreed to in writing, software
worker_processes 2;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
use epoll;
}
upstream some_app_server {
server 127.0.0.1:9393;
}
server {
listen 80;
server_name my-upload-endpoint.com ;