Skip to content

Instantly share code, notes, and snippets.

View chepe263's full-sized avatar
📠
now I'm into nodejs

Capitan Nemo chepe263

📠
now I'm into nodejs
  • Interenet
View GitHub Profile
@ruandre
ruandre / AiFitToArtboard.jsx
Last active July 19, 2022 12:16
Adobe Illustrator script to resize objects proportionally to fit inside the artboard.
/***************************
NOT MAINTAINED! from ~2014
****************************/
// cs4+ script for resizing objects proportionally to fit inside artboard
// based on: https://forums.adobe.com/message/4164590
// usage: create a new document with desired artboard size, paste object, select it, run this script
// bugs: centering does not work after changing artboard size
var activeDoc = app.activeDocument
@thepsion5
thepsion5 / BaseController.php
Last active February 29, 2020 15:27
Example of using A Laravel Controller to automatically handle validation exceptions and auth failures
<?php
class BaseController extends Controller
{
public function callAction($method, $params)
{
$ajax = Request::isAjax();
try {
return parent::callAction($method, $params);
@chrisvfritz
chrisvfritz / index.html
Created November 18, 2014 19:22
Simplest possible HTML template
<!doctype html>
<html>
<head>
<title>This is the title of the webpage!</title>
</head>
<body>
<p>This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p>
</body>
</html>
@icetee
icetee / win10_normalizer.ps1
Last active October 25, 2023 04:41
Windows 10 remove unnecessary applications
#Uninstall 3D Builder
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
#Uninstall Alarms and Clock
Get-AppxPackage *windowsalarms* | Remove-AppxPackage
#Uninstall Calculator
Get-AppxPackage *windowscalculator* | Remove-AppxPackage
#Uninstall Calendar and Mail:
@christophermoura
christophermoura / itunes-podcast-url-extractor.php
Created January 13, 2017 16:47
iTunes Podcast URL Extractor
<?php
/*
* Podcast URL Extractor
* implemented at http://itunes.so-nik.com
*
* All code has been re-written by lasavior.
* Original code & inspiration from Michael Sitarzewski, zerologic.com
*
* Ex: http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/viewPodcast?id=269238657
@code-storm
code-storm / create ssl certificate openssl for local https.txt
Created April 23, 2017 03:53
Creating SSL certificate using Openssl for localhost to use https on local machine
Setting Up A Localhost Self-signed Certificate (SSL) For Local Https
==========================================================================
- GENERATE THE CERTIFICATE
# 1. generate key
- create an 'ssl' folder somewhere
- cd to it
@braian87b
braian87b / openwrt-lede-openvpn-client.md
Last active April 2, 2021 09:33
Setting an OpenWrt / LEDE Based Router as OpenVPN Client

These instructions should work for Streisand as well for others VPN providers (Streisand is a Software that automatically configures a VPS online server with OpenVPN and other VPN/Proxy Softwares in order to have a private VPN Server)

These instructions are for getting an OpenWrt Based Router working as OpenVPN Client (should work for LEDE, Gargoyle and another distributions). Computers connected to Lan Ports of the OpenWrt Router will navigate through the Internet connection of the OpenVPN Server (in this case the Streisand one previously set up) you need a working Router with OpenWrt based firmware flashed on it (LEDE or eko.one.pl could also work) steps works well on Chaos Calmer 15.05 or 15.05.1.

  1. You need to telnet 192.168.1.1 (OpenWrt Router) and set up a password using passwd You can skip this if you already have a password and can connect using ssh.

I do know that it’s really easy to convert them into an ISO file, and then mount the ISO in debian based linux.

sudo apt-get install bchunk

The syntax from bchunk is as follows:

bchunk [-v] [-p] [-r] [-w] [-s]