Skip to content

Instantly share code, notes, and snippets.

View fedir's full-sized avatar
🌤️
The sun is behind every cloud

Fedir RYKHTIK fedir

🌤️
The sun is behind every cloud
View GitHub Profile
@fedir
fedir / .gitignore
Last active April 19, 2024 02:08 — forked from Avinashachu007/.gitignore
.gitignore for Java, Maven, Spring Boot - Eclipse, Netbeans, IntelliJ IDEA, Visual Studio Code
/target/
!.mvn/wrapper/maven-wrapper.jar
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
@fedir
fedir / tellmeyoursecrets.js
Last active January 20, 2020 15:52 — forked from rzrbld/tellmeyoursecrets.js
Google Apps Script that lists a lot of info about the files in a particular folder/sub folder structure including viewers, editors, and sharing access type
function listFolders(folder) {
var sheet = SpreadsheetApp.getActiveSheet();
sheet.appendRow(["Folder Name" ,"Name","Sharing Access", "Get Editors", "Get Viewers", "Date", "URL"]);
folderID = "ID"
listFolder(sheet, folderID)
}
function listFolder(sheet, folderID) {
var folder = DriveApp.getFolderById(folderID);
addRootFilesToSheet(sheet, folder)
@fedir
fedir / typo3camp-nantes-cms-6-top-9-update-notes.md
Last active December 6, 2018 09:18 — forked from mkrappitz/typo3camp-nantes-cms-6-top-9-update-notes.txt
TYPO3camp Nantes TYPO3 CMS 6 to 9 Update Notes

Notes of Matthias Krappitz for the TYPO3 CMS 6 to 9 update session of the installation https://www.kastrati.com/ on the Sunday of the TYPO3Camp Nantes 2018. Makes only sense for participants of the session

From 6 to 7

  • set development system DB settings inf AdditionalConfiguration.php on domain condition
  • execute DB Compare
  • set Preview Domain in PageTs on domain condition
  • set TS Domain Conditions for Frontend to Dev Environment
  • extension updates (EXT:powermail only up to 2.25.3 for now)
@fedir
fedir / .ackrc
Last active May 21, 2018 13:43 — forked from theaboutbox/.ackrc
My .ackrc
--type-add=go=.golang
--type-add=php=.php,.inc,.phpsh
--type-add=css=.sass,.less,.scss
--type-add=ruby=.rake,.rsel,.builder,.thor
--type-add=html=.haml,.html.erb,.html.haml
--type-add=js=.js.erb,.coffee
--type-set=cucumber=.feature
--type-set=c=.c,.cpp,.ino,.pde,.h
--ignore-dir=vendor
--ignore-dir=log
@fedir
fedir / ForumPHP2016_Confs.md
Created October 30, 2017 10:40 — forked from Progi1984/ForumPHP2016_Confs.md
Forum PHP 2016
@fedir
fedir / glide-install.sh
Last active October 21, 2017 14:39 — forked from missinglink/go-ubuntu-install.md
Install go on ubuntu
sudo add-apt-repository ppa:masterminds/glide && sudo apt-get update
sudo apt-get install glide
@fedir
fedir / generatePassword.php
Created June 7, 2017 18:41 — forked from zyphlar/generatePassword.php
Generating secure passwords in PHP
<?php
// usage: $newpassword = generatePassword(12); // for a 12-char password, upper/lower/numbers.
// functions that use rand() or mt_rand() are not secure according to the PHP manual.
function getRandomBytes($nbBytes = 32)
{
$bytes = openssl_random_pseudo_bytes($nbBytes, $strong);
if (false !== $bytes && true === $strong) {
return $bytes;
}
else {
# Upstream URL: https://github.com/nylas/N1
# Please do mind that pkgbuild will automagically update
# to latest tagged release (you could have problems if you use an aur helper),
# there's no need to manually change pkgver.
# Please don't flag out-of-date!
pkgname=nylas-git
pkgver=0.3.25.r63.g9236529
pkgrel=1
pkgdesc="Chrome-based email client from Nylas"
@fedir
fedir / cors-nginx.conf
Created June 13, 2016 17:30 — forked from michiel/cors-nginx.conf
Wide-open CORS config for nginx
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header "Access-Control-Allow-Origin" $http_origin;
#