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 | |
| # To install on ubuntu | |
| # curl -fsSL https://gist.github.com/tatosjb/0ca8551406499d52d449936964e9c1d6/raw/28459ee07900ef76081c9e276cd94d707bed73a9/install-cursor-sh | bash | |
| installCursor() { | |
| if ! [ -f /opt/cursor.appimage ]; then | |
| echo "Installing Cursor AI IDE..." | |
| mkdir -p "$HOME/Applications/cursor" | |
| # URLs for Cursor AppImage and Icon | 
  
    
      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
    
  
  
    
  | git reset --hard cedc856 | |
| git push --force origin main | 
  
    
      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
    
  
  
    
  | find . -name '.DS_Store' -type f -delete | 
  
    
      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
    
  
  
    
  | server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| root /var/www/html; | |
| index index.php index.html index.htm index.nginx-debian.html; | |
| server_name _; | |
| location / { | 
  
    
      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/sh | |
| # Config | |
| HOST=@ | |
| DOMAIN="your-domain" | |
| PASSWORD="your-password" | |
| # Others | |
| LAST_IP_FILE=/tmp/last-ip.txt | |
| TIME="`date +%Y-%m-%d:%H:%M`" | 
  
    
      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
    
  
  
    
  | local hostname="%{$fg_bold[green]%}%m" | |
| local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" | |
| PROMPT='${hostname} ${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}' | |
| ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%} " | |
| ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) " | 
  
    
      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
    
  
  
    
  | dial *#*#2846579#*#* | |
| select 'ProjectMenu' | |
| select 'Background Setting' | |
| select 'Log Setting' | |
| select 'Log Switch' | |
| enable 'LOG on' | |
| Select 'Log level setting' | |
| enable 'DEBUG' | |
| Press the 'Back' key | |
| select 'Dump and Log' | 
  
    
      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
    
  
  
    
  | public void changeLanguageSettings(String language, String country) { | |
| try { | |
| //Set language | |
| Locale locale = new Locale(language, country); | |
| //Getting by reflection the ActivityManagerNative | |
| Class amnClass = Class.forName("android.app.ActivityManagerNative"); | |
| Object amn = null; | |
| Configuration config = null; | 
  
    
      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
    
  
  
    
  | @import url('https://fonts.googleapis.com/css?family=Ubuntu:400,400i,700,700i&subset=latin-ext'); | |
| html * { | |
| font-family: "Ubuntu", sans-serif !important; | |
| } | |
| #overlay { | |
| background: #2e3243; | |
| } | 
  
    
      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
    
  
  
    
  | pm list packages -f | 
NewerOlder