This file contains hidden or 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
/****** | |
* | |
* click auto unretweet | |
* | |
* */ | |
async function clickEnElementos() { | |
var elementosPath = document.querySelectorAll('path[d="M4.75 3.79l4.603 4.3-1.706 1.82L6 8.38v7.37c0 .97.784 1.75 1.75 1.75H13V20H7.75c-2.347 0-4.25-1.9-4.25-4.25V8.38L1.853 9.91.147 8.09l4.603-4.3zm11.5 2.71H11V4h5.25c2.347 0 4.25 1.9 4.25 4.25v7.37l1.647-1.53 1.706 1.82-4.603 4.3-4.603-4.3 1.706-1.82L18 15.62V8.25c0-.97-.784-1.75-1.75-1.75z"]'); | |
for (var i = 0; i < elementosPath.length; i++) { |
This file contains hidden or 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
# set show or height size kde panel | |
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript "panels()[0].height = 40" | |
# move panel to bottom | |
# | |
# | |
# position screen | |
# 7 - 8 - 3 | |
# 6 - - 2 | |
# 5 - 4 - 1 |
This file contains hidden or 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
This is an example of how I solved it. | |
steps: | |
- Add new screen in tailwind.config.js. ex mb~(mobile) | |
https://flowbite.com/docs/customize/theming/#breakpoints | |
``` | |
theme: { | |
screens: { | |
'mb': '340px', // <- new screen from small smartphone |
This file contains hidden or 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 | |
# recuperar un listado de archivos de otro commit a la rama actual | |
# <COMMIT-ID> : el hash del commit donde estan los archivos que quieres recuperar | |
# <EXPR> : expresion para filtrar el listado | |
git ls-tree --name-only -r <COMMIT-ID> | grep -i <EXPR> | xargs -I {} git checkout <COMMIT-ID> '{}' | |
# ejemplo: | |
# recuperar los archivos que estan en la carpeta test/ del commit 6f425124 a la rama actual | |
# <COMMIT-ID>: 6f425124 | |
# <EXPR>: test/ |
This file contains hidden or 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
#libGL error: unable to load driver: i965_dri.so. | |
mv ~/Android/Sdk/tools/lib64/libstdc++/libstdc++.so.6{,.bak} | |
mv ~/Android/Sdk/tools/lib64/libstdc++/libstdc++.so.6.0.18{,.bak} | |
ln -s /usr/lib/libstdc++.so ~/Android/Sdk/tools/lib64/libstdc++/ |