This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chmod -R 777 system/cms/cache | |
sudo chmod -R 777 system/cms/config | |
sudo chmod -R 777 addons | |
sudo chmod -R 777 system/cms/cache | |
sudo chmod -R 777 uploads | |
sudo chmod -R 666 system/cms/config/config.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// List all files in a directory in Node.js recursively in a synchronous fashion | |
var walkSync = function(dir, filelist) { | |
if( dir[dir.length-1] != '/') dir=dir.concat('/') | |
var fs = fs || require('fs'), | |
files = fs.readdirSync(dir); | |
filelist = filelist || []; | |
files.forEach(function(file) { | |
if (fs.statSync(dir + file).isDirectory()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --since='last month' --pretty=format:'%h;%an;%ad;%s' --author='Ionut Colceriu' > ~/log.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# MySQL Workbench Python script | |
# | |
# <description> | |
# Written in MySQL Workbench 6.3.6 | |
# Fetch all tables, | |
# For each table, add created_at, updated_at, deleted_at timestamps, | |
# Except for many-to-many tables | |
# Configurable options: | |
# addDeletedAt: True / False. Add the deleted_at timestamp column |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# MySQL Workbench Python script | |
# | |
# <description> | |
# Written in MySQL Workbench 6.3.6 | |
import grt | |
# get a reference to the schema in the model. This will get the 1st schema in it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# what we want: | |
# client -> OpenVPN -> Tor -> Internet | |
# Install & configure OpenVPN | |
# https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04 | |
# assumed OpenVPN configuration | |
# 10.8.0.1/24-Subnet | |
# tun0-Interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"errors" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Free Windows Server 2022 Standard Product Key | |
HP9DJ-NK2X6-4QPCH-8HY8H-6X2XY | |
RRNMT-FP29D-CHKCH-GWQP2-DDDVB | |
44QN4-X3R72-9X3VK-3DWD6-HFWDM | |
Free Windows Server 2022 Datacenter Product Key | |
WX4NM-KYWYW-QJJR4-XV3QB-6VM33 | |
Download windows Sever 2022 Evaluation edition: | |
Windows Server 2022 Evaluation English |
OlderNewer