Skip to content

Instantly share code, notes, and snippets.

@rajkosto
rajkosto / nokia-router-cfg-tool.py
Last active October 24, 2026 10:42 — forked from thedroidgeek/nokia-router-cfg-tool.py
Nokia/Alcatel-Lucent router backup configuration tool
#!/usr/bin/env python3
#
# Nokia/Alcatel-Lucent router backup configuration tool
# G2425 support added by rajkosto on 20/11/2022
# XS-2426G-B support added by rajkosto on 28/02/2023
# Newer dmdb_encryption.cfg support added by rajkosto on 03/10/2026
# (requires device specific info, generate extfshash with https://gist.github.com/rajkosto/d003f2426310bd62bd9fd32548d04dd5)
# (DMDB files can be converted to/from familiar XML format using https://gist.github.com/rajkosto/737876e062840cfdec2d6ce23d318d0d)
@sk8darr
sk8darr / diashabiles.php
Created October 5, 2021 14:31 — forked from angelmartz/diashabiles.php
Obtener días hábiles en PHP
<?php
/**
* Metodo getDiasHabiles
*
* Permite devolver un arreglo con los dias habiles
* entre el rango de fechas dado excluyendo los
* dias feriados dados (Si existen)
*
* @param string $fechainicio Fecha de inicio en formato Y-m-d
* @param string $fechafin Fecha de fin en formato Y-m-d
@beraldofilippo
beraldofilippo / ItemClickSupport.java
Last active March 7, 2021 16:41
RecyclerView single and double click listener on items of a RecyclerView.
/**
* Created by Hugo Visser.
* Please see http://www.littlerobots.nl/blog/Handle-Android-RecyclerView-Clicks/
*
* Modified by Filippo Beraldo:
* - Added OnDoubleClickListener in place of the standard OnClickListener.
*/
public class ItemClickSupport {
private final RecyclerView mRecyclerView;
@FullStackForger
FullStackForger / .gitignore
Last active July 22, 2026 20:34
.gitignore for Unity3d project
###
# Unity folders and files
###
[Aa]ssets/AssetStoreTools*
[Bb]uild/
[Ll]ibrary/
[Ll]ocal[Cc]ache/
[Oo]bj/
[Tt]emp/
[Uu]nityGenerated/