-
Aventuras no Terminal: criando um novo usuário | MacMagazine.com.br
“sudo dscl . -append /Groups/admin GroupMembership johndoe”
-
cyanogenmod – How to find the root of android slow down – Android Enthusiasts Stack Exchange
“Very low amount of free RAM. Check under Settings>Apps>Running how much free RAM you have If your free RAM is too low (70-150MB or less) it’s probably the cause so check which app/apps, if it’s not an app maybe it’s a bug in the ROM. (see 3)
Low free space on internal storage. (check under Setting>Storage) If the free space is too low (~2GB or less), try free up some space and check if that helps
Kernel bug/misconfiguration. Try to check your CPU usage stats, clock speed, governor, number of active cores etc… (If you havn’t flashed a custom kernel and never changed the governor/clock speed or other performance settings it’s probably not the problem)
ROM bug You can try perform a nandroid backup, then reinstall the rom after full wipe and see how it performs, if it’s still slow, try clean install of the version that previously worked fine (only if you know what you doing!)
Bug in one of the user apps. If your CPU/RAM usage is too high for no reason maybe one of your apps eating it. I recommend you to try OSMonitor or any similar app to find which app eating your CPU/RAM.
“ -
Decryption unsuccessfull | Moto G5
“If you formatted some partition from F2FS to EXT4, the mobile will accuse this error. Go back to F2FS.
This error can also occur if you have not made all the necessary WIPES.”
Update (weekly)
-
monitoring – How do you monitor the progress of dd? – Ask Ubuntu
“dd if=/dev/urandom | pv | dd of=/dev/null”
-
jquery set checkbox checked – Stack Overflow
“.prop(‘checked’, true);
Before jQuery 1.6 (see user2063626’s answer):.attr(‘checked’,’checked’)”
-
cursor.sort() — MongoDB Manual
“db.orders.find().sort( { “item.category”: 1, “item.type”: 1 } )”
Update (weekly)
-
How to specify `–authenticationDatabase` in mongoose? · Issue #3905 · Automattic/mongoose · GitHub
“Easiest way is to specify authSource in the uri
const uri = ‘mongodb://monguser:mongpass@192.168.2.2:27017/ps?authSource=admin’;”
-
“use admin
db.createUser(
{
user: “myUserAdmin”,
pwd: “abc123”,
roles: [ { role: “userAdminAnyDatabase”, db: “admin” }, “readWriteAnyDatabase” ]
}
)” -
Installing Express/Nginx app with SSL using Certbot on Ubuntu 18.04 | Codementor
“sudo npm install -g pm2
sudo pm2 startup
sudo pm2 start index.js
sudo pm2 save”-
server { listen 80; server_name yourdomain.com www.yourdomain.com; location / { proxy_pass http://localhost:3001; # Change the port if needed proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection ‘upgrade’; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } }
-
sudo ln -s /etc/nginx/sites-available/yourdomain.com.conf /etc/nginx/sites-enabled/
-
sudo add-apt-repository ppa:certbot/certbot sudo apt update sudo apt install python-certbot-nginx
-
sudo certbot –nginx
-
sudo service nginx restart
-
-
How can I get a Let’s Encrypt certificate for a non-public facing server? – Server Fault
“Basically, you run this command and follow the directions:
certbot -d site.your.dom.ain –manual –preferred-challenges dns certonly”
-
node.js – mongoose query same field with different values – Stack Overflow
“mongoose.find({title: {$in: [‘some title’, ‘some other title’]}})”
Update (weekly)
-
Restore Windows 10 EFI boot entry – Super User
“bcdboot C:\Windows /s E: /f UEFI
“
Update (weekly)
-
[Guide] Dell Inspiron 15 7559 Sierra/High Sierra/MOJAVE Install | Page 21 | tonymacx86.com
“You should have installed BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext in S/L/E/”
-
[Guide] Dell Inspiron 15 7559 Sierra/High Sierra/MOJAVE Install | Page 8 | tonymacx86.com
“You installed an old version of the FakePCIID kexts.
You have 1.3.2.
Current version is 1.3.3.
Also, your config.plist does not have the ‘fcvo’ patch by the-darkvoid.”Clearly documented here: https://www.tonymacx86.com/threads/readme-common-some-unsolved-problems-in-10-12-sierra.202316/
Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.
Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda
Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate ‘themes’ directory. Provide only EFI/Clover, not the entire EFI folder.Attach output of (in Terminal):
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u / -
[Guide] Dell Inspiron 15 7559 Sierra/High Sierra/MOJAVE Install | Page 7 | tonymacx86.com
“Open the config.plist in Clover Configurator. Go to the section SMBIOS and click the magic wand icon. Choose the MacBookPro icon and select MacBookPro 11,2 in the dropdown menu”
-
[Guide] Dell Inspiron 15 7559 Sierra/High Sierra/MOJAVE Install | Page 3 | tonymacx86.com
“Either from the wifi menu bar icon -> Turn Wi-Fi Off or from the System Preferences -> Network -> Wi-Fi adapter -> Turn Wi-Fi Off button.
Both produce the same result. I’m already using the
Code:
Find
gflSqgAAdSk=
Replace
gflSqgAAZpA=
fix and when it is turned on it works like a charm” -
[Guide] Dell Inspiron 15 7559 Sierra/High Sierra/MOJAVE Install | tonymacx86.com
-
[Guide] Booting the OS X installer on LAPTOPS with Clover | tonymacx86.com
Update (weekly)
-
How to Make GnomeShell’s Clock Show Seconds ?
“gsettings set org.gnome.desktop.interface clock-show-seconds true”
-
[ubuntu] Date time indicator not displaying seconds.
“dconf write /com/canonical/indicator/datetime/show-seconds ‘true'”
-
Difference between android-support-v7-appcompat and android-support-v4 – Stack Overflow
“v4 Support Library
This library is designed to be used with Android 1.6 (API level 4) Android 2.3 (API level 9) Android 4.0 (API level 14) and higher.”
Update (weekly)
-
ShareCompat.IntentBuilder | Android Developers
“createChooserIntent
added in version 22.1.0
Intent createChooserIntent ()
Create an Intent that will launch the standard Android activity chooser, “
Update (weekly)
-
Is there a folder in Linux/Ubuntu where all the shortcuts to launch all the apps is stored? – Quora
“/home/$USER/.local/share/applications”
Update (weekly)
-
Disable MacBook Pro Dedicated GPU
“nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00 “
Update (weekly)
-
Testar o aplicativo | Android Developers
“src/test/java/”
-
Disable vibration for all/some notifications | OnePlus One
“Most of my apps have the option to turn off vibrate in their own settings.”