Citation de H2L29: |
bug éditeur wyswyg la balise code ne prend pas en compte le thème black (blanc sur blanc) |
Code: |
UP!!! et points :p |
Code: |
GRUB_BACKGROUND=/usr/local/share/backgrounds/debian-relief.jpg |
Citation: |
voire why not un MUC d'un serveur XMPP (jabber) (jappix & jappix mini?) |
Citation de Cass002: |
dd if=archlinux-2008.06-core-i686.img of=/dev/sdb ; sync |
Code: |
############################## ##### NVIDIAINFO ##### ############################## elif sensor == 'nvidiaInfo' and self.ifRefresh( sensor, '3sec' ): def getData( lines ): for line in lines: try: int(line[0]) return line except: pass return '' if self.ifRefresh( sensor, 'never' ): if self.nvidiaShowGpu: self.nvidiaInfo['gpu'] = os.popen( 'nvidia-settings -q Gpus | cut -d '(' -f 2 -s' ).read().replace( 'n', '' ).replace( ')', '' ) if self.nvidiaShowRam: self.nvidiaInfo['ram'] = str( int( getLine( os.popen( 'nvidia-settings -q VideoRam -t' ).readlines() ).replace( 'n', '' ) )/1024 ) if self.nvidiaShowDriver: self.nvidiaInfo['driver'] = getData( os.popen( 'nvidia-settings -q NvidiaDriverVersion -t' ).readlines() ).replace( 'n', '' ) if self.nvidiaShowReolution: self.nvidiaInfo['resolution'] = getData( os.popen( 'nvidia-settings -q FrontendResolution -t' ).readlines() ).replace( 'n', '' ).split( ',' ) if self.nvidiaShowRefreshRate: self.nvidiaInfo['refreshRate'] = getData( os.popen( 'nvidia-settings -q RefreshRate -t' ).readlines() ).replace( 'n', '' ) if self.nvidiaShowGpuFrequency: self.nvidiaInfo['gpuFrequency'] = getData( os.popen( 'nvidia-settings -q GPUCurrentClockFreqs -t | cut -d ',' -f1' ).readlines() ).replace( 'n', '' ) if self.nvidiaShowMemFrequency: self.nvidiaInfo['memFrequency'] = getData( os.popen( 'nvidia-settings -q GPUCurrentClockFreqs -t | cut -d ',' -f2' ).readlines() ).replace( 'n', '' ) if self.nvidiaShowTemp: self.nvidiaInfo['temp'] = getData( os.popen( 'nvidia-settings -q GPUCoreTemp -t' ).readlines() ).replace( 'n', '' ) if self.nvidiaInfo == self.nvidiaInfoOld and not self._allUpdate: return False self.nvidiaInfoOld = dict( self.nvidiaInfo ) if self.nvidiaShowTemp: try: self.nvidiaTemp = int( int( self.nvidiaInfo['temp'] ) / ( self.nvidiaTempMax / 100.0 ) ) except: self.nvidiaTemp = 0 return True # end nvidiainfo |