- Motherboard : Asrock x300
- CPU : AMD Ryzen 5 PRO 4650G with Radeon Graphics
- GPU : AMD Ryzen 5 PRO 4650G with Radeon Graphics
- Ram : DDR4 2133 MHz
Update packages
# 500 Mo | |
wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test500.zip | |
# 10Go | |
wget -O /dev/null http://test-debit.free.fr/10485760.rnd |
FROM php:7.1.2-apache | |
RUN docker-php-ext-install mysqli |
- platform: template | |
sensors: | |
salon_temperature_ressentie: | |
friendly_name: 'Ressenti T° Salon' | |
value_template: >- | |
{% set T = ((states.sensor.netatmo_maison_salon_temperature.state|float)*1.8)+32 %} | |
{% set RH = states.sensor.netatmo_maison_salon_humidity.state|float %} | |
{% set STEADMAN_HI = 0.5 * (T + 61.0 + ((T-68.0)*1.2) + (RH*0.094)) %} | |
{% if STEADMAN_HI >= 80 %} |
Hi 👋,
I have a full headless VM for remote machine, since few weeks Google Chrome became really slow to start (2min, I smell a timeout)… All the problems are related to Gnome-Keyring which seems not to unlock.
Comment every lines with pam_systemd_home.so
in the /etc/pam.d/system-auth
to disable it.
Original: https://forum.duolingo.com/comment/9139466 | |
Duolingo announced that it will be shutting down its forums on 2022-03-22. There is a chance it may keep them in read-only mode, but no guarantee. Therefore this is a copy of the incredibly useful Esperanto Megapost from Duolingo Esperantist amuzulo. |
const saveAsJsonLocally = (obj, filename) => { | |
const data = JSON.stringify(obj, null, 2); | |
const blob = new Blob([data], {type: 'text/plain'}); | |
const e = document.createEvent('MouseEvents'); | |
const a = document.createElement('a'); | |
a.download = filename; | |
a.href = window.URL.createObjectURL(blob); | |
a.dataset.downloadurl = ['text/json', a.download, a.href].join(':'); |
APK="$1" | |
if [ -f $APK ];then | |
./apktool d "$APK" | |
grep -lR "\->loadAd" "${APK%.*}" | xargs sed -i '/\->loadAd/d' | |
./apktool b "${APK%.*}" -o "${APK%.*}_no_ad.apk" | |
java -jar sign.jar --overwrite --apks "${APK%.*}_no_ad.apk" | |
rm -rf "${APK%.*}" | |
else | |
echo "please input apk file" | |
fi |
private boolean locationServiceEnabled() { | |
final LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); | |
if (locationManager != null) { | |
try { | |
return locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER) || | |
locationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER); | |
} catch (final Exception e) { | |
Timber.e(e); | |
return false; |
var zip = new JSZip(); | |
var count = 0; | |
var zipFilename = "zipFilename.zip"; | |
var urls = [ | |
'http://image-url-1', | |
'http://image-url-2', | |
'http://image-url-3' | |
]; | |
urls.forEach(function(url){ |