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
Nov 07 23:21:10 localhost gnome-shell[3394]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 315]: reference to undefined property "MetaStage" | |
Nov 07 23:21:10 localhost gnome-shell[3394]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 221]: reference to undefined property "MetaWindowGroup" | |
Nov 07 23:21:10 localhost gnome-shell[3394]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property "MetaDBusDisplayConfigSkeleton" | |
Nov 07 23:21:10 localhost org.gnome.Shell.desktop[3394]: current session already has an ibus-daemon. | |
Nov 07 23:21:10 localhost gnome-shell[3394]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property "CallyActor" | |
Nov 07 23:21:10 localhost gnome-shell[3394]: Telepathy is not available, chat integration will be disabled. | |
Nov 07 23:21:10 localhost gnome-shell[3394]: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to undefined property "isSpecialProperty" | |
Nov 07 23:21:11 |
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
== RUN TestWebsocketChan_Broadcast | |
2017/11/16 08:50:26 timeout | |
2017/11/16 08:50:26 timeout | |
2017/11/16 08:50:26 timeout | |
2017/11/16 08:50:26 timeout |
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
# Some metadata required by an RPM package | |
Name: tick5 | |
Summary: Print a message every 5s | |
Version: 0.1 | |
Release: 1 | |
License: MIT | |
%description | |
tick5 is a simple useless script that echos a message every 5 seconds. |
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
[Unit] | |
StopWhenUnneeded=true | |
[Install] | |
WantedBy=multi-user.target | |
[Service] | |
ExecStart=/usr/bin/tick5 | |
Restart=always | |
RestartSec=5 |
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: tick5 | |
Maintainer: Koala Yeung | |
Architecture: all | |
Version: 0.1 | |
Description: Print a message every 5s | |
. | |
tick5 is a simple useless script that echos a message every 5 seconds. |
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
#!/bin/bash | |
# say something, with timestamp, every 5 seconds | |
while echo "$@"; do | |
sleep 5s | |
done |
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 | |
/** | |
* A very simple test of FormData API with a very simple | |
* PHP backend. | |
* | |
* Usage: | |
* | |
* 1. Save this file to a folder. | |
* 2. Open your terminal and cd to this folder. |
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
all: messages.po | |
clean: | |
rm -f messages.po | |
.PHONY: all clean | |
messages.po: | |
xgettext \ | |
--language=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
{ | |
"name": "yookoala/htmlpurifier-example", | |
"authors": [ | |
{ | |
"name": "Koala Yeung", | |
"email": "koalay at gmail dot com" | |
} | |
], | |
"require": { | |
"ezyang/htmlpurifier": "^4.10" |
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
func merge(cs ...<-chan int) <-chan int { | |
out := make(chan int) | |
var cases []reflect.SelectCase | |
for _, c := range chans { | |
cases = append(cases, reflect.SelectCase{ | |
Dir: reflect.SelectRecv, | |
Chan: reflect.ValueOf(c), | |
}) | |
} |
OlderNewer