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
server { | |
listen [::]:80; | |
listen 80; | |
server_name _; | |
access_log /var/log/nginx/{{ $.APP }}-access.log; | |
error_log /var/log/nginx/{{ $.APP }}-error.log; | |
location / { | |
gzip on; | |
gzip_min_length 1100; |
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
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
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
bbbc |
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
{ | |
"type": "Feature", | |
"properties": { | |
"popupContent": "This is the Auraria West Campus", | |
"style": { | |
"weight": 2, | |
"color": "#999", | |
"opacity": 1, | |
"fillColor": "#B0DE5C", | |
"fillOpacity": 0.8 |
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
127.0.0.1 05ee3a24ed11df058c8.com | |
127.0.0.1 188affiliates.com | |
127.0.0.1 1iklanbaris.com | |
127.0.0.1 1st-iklan.com | |
127.0.0.1 3b7c0f01022f61d5.com | |
127.0.0.1 66cpwgln.space | |
127.0.0.1 690179b5160e450.com | |
127.0.0.1 6a0e2d19ac28.com | |
127.0.0.1 6c37f8a12dede103bf7.com | |
127.0.0.1 8a333bc2b4d6.com |
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
docker run -d \ | |
--name pihole \ | |
-p 53:53/tcp -p 53:53/udp -p 82:80 \ | |
-v "${DOCKER_CONFIGS}/pihole/:/etc/pihole/" \ | |
-v "${DOCKER_CONFIGS}/dnsmasq.d/:/etc/dnsmasq.d/" \ | |
-e ServerIP="127.0.0.1" \ | |
-e WEBPASSWORD="" \ | |
--restart=always \ | |
diginc/pi-hole:alpine |
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
Sub makeIndividual() | |
Dim personName as String | |
personName = "test" | |
Dim newBook As Workbook | |
Set newBook = workbooks.Add | |
newBook.Activate | |
With newBook | |
.Author = personName | |
.Comments = personName |
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
function getFiles(folder, search) { | |
var items = folder.getFiles(); | |
var files = []; | |
for (var i=0; i < items.length; i++) { | |
var item = items[i]; | |
if (item instanceof Folder && item.name != '.' && item.name != '..') { | |
files.concat(getFiles(folder)); | |
} else if (item instanceof File && item.name.toLowerCase().indexOf(search) > -1) { | |
files.push(item); | |
} |
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
function removeMetadata( file ){ | |
if ( !ExternalObject.AdobeXMPScript ) ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript'); | |
var xmpf = new XMPFile( File(file).fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE ); | |
var xmp = xmpf.getXMP(); | |
XMPUtils.removeProperties(xmp, "", "", XMPConst.REMOVE_ALL_PROPERTIES); | |
if (xmpf.canPutXMP( xmp )) { | |
xmpf.putXMP( xmp ); | |
} | |
xmpf.closeFile( XMPConst.CLOSE_UPDATE_SAFELY ); | |
}; |
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
docker rm $(docker ps -a | grep Exited | awk '{print $1}') | |
docker rmi $(docker images -q -f "dangling=true") | |
docker volume rm $(docker volume ls -qf dangling=true) |
NewerOlder