$ sudo gedit /usr/share/gnome-shell/theme/ubuntu.css
Find "#lockDialogGroup" keyword:
Replace with:
#lockDialogGroup {
javascript:(function(){if(!document.getElementById('fountscript')){var founts=document.createElement('script');founts.src='https://fount.artequalswork.com/fount.js';founts.id='fountscript';document.body.appendChild(founts);}})(); |
RewriteBase / | |
RewriteCond %{REQUEST_URI} !^/(static/?|$) | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.html [L] |
Error on ubuntu
> react-scripts test
Error: watch /home/lam.ngoc.khuong/develop/project/my-workspace/react/learn-react/hackernews/node_modules/accepts ENOSPC
at FSWatcher.start (fs.js:1382:19)
at Object.fs.watch (fs.js:1408:11)
at NodeWatcher.watchdir (/home/lam.ngoc.khuong/develop/project/my-workspace/react/learn-react/hackernews/node_modules/sane/src/node_watcher.js:159:22)
at Walker.<anonymous> (/home/lam.ngoc.khuong/develop/project/my-workspace/react/learn-react/hackernews/node_modules/sane/src/common.js:109:31)
at emitTwo (events.js:126:13)
import java.io.IOException; | |
import java.util.Vector; | |
/** | |
* Created by moshee | |
* on: 07/06/17 | |
* to compile in place: `javac ConsumeHeap.java` | |
* Execute: `java -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/app-`date +%s`-pid$$.hprof -XX:OnOutOfMemoryError=/opt/app/bin/upload_dump_s3.sh -Xmx2m ConsumeHeap` | |
* HeapDumpOnOutOfMemoryError specifies to automatically create a dump when OOM occures | |
* HeapDumpPath supplies a path to put that file |
logging: | |
pattern: | |
console: "%d{yyyy-MM-dd HH:mm:ss} ${LOG_LEVEL_PATTERN:-%5p} %m%n" | |
level: | |
org.springframework.web: INFO | |
org: | |
springframework: | |
web: | |
filter: | |
CommonsRequestLoggingFilter: DEBUG |
import java.io.File; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.nio.file.StandardCopyOption; | |
import java.util.Comparator; | |
public class FileHelper { |
<?php | |
if (!function_exists('interface_exists')) { | |
die('PHP version too old'); | |
} | |
$throwables = listThrowableClasses(); | |
$throwablesPerParent = splitInParents($throwables); | |
printTree($throwablesPerParent); |