This file contains 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
$ProfilePaths = Get-ChildItem "REGISTRY::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" | | |
Where-Object {$_.Name -match "^S-1-5-21*"} | | |
Select-Object -ExpandProperty Name -Skip 1 | Foreach { | |
(Get-ItemProperty "REGISTRY::$($_)" -Name "ProfileImagePath").ProfileImagePath | |
} | |
$ProfilePaths = $ProfilePaths | Where-Object {$_ -ne "C:\Users\$($env:Username)"} | |
$ProfilePaths | Foreach { | |
$Current = "$_" | |
$Move = $_ -replace "^C:","D:" | |
Move-Item -Path "$Current" -Destination "$Move" |
This file contains 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
using ServiceReference1; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.ServiceModel; | |
using System.Threading.Tasks; | |
namespace SSRSSimple | |
{ | |
class Program |
This file contains 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
CREATE OR REPLACE TRIGGER sys.schema_nls_session_settings AFTER LOGON ON BOB.SCHEMA | |
BEGIN | |
execute immediate 'alter session SET NLS_TERRITORY="BRAZIL"'; | |
execute immediate 'alter session SET NLS_LANGUAGE="BRAZILIAN PORTUGUESE"'; | |
execute immediate 'alter session SET NLS_ISO_CURRENCY="BRAZIL"'; | |
execute immediate 'alter session SET NLS_CURRENCY="R$"'; | |
execute immediate 'alter session SET NLS_DATE_FORMAT="DD/MM/RR"'; | |
execute immediate 'alter session SET NLS_DATE_LANGUAGE="BRAZILIAN PORTUGUESE"'; | |
execute immediate 'alter session SET NLS_SORT="BINARY"'; | |
execute immediate 'alter session SET NLS_TIME_FORMAT="HH24:MI:SSXFF"'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
SELECT owner usuario | |
,table_name tabela | |
,tablespace_name tablespace | |
,num_rows num_linhas | |
FROM all_tables | |
WHERE owner = &usuario | |
ORDER BY owner, table_name; |
This file contains 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
{ | |
"workbench.colorTheme": "Omni", | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 15, | |
"explorer.compactFolders": false, | |
"editor.renderLineHighlight": "gutter", | |
"workbench.editor.labelFormat": "short", | |
"extensions.ignoreRecommendations": true, |
This file contains 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
[user] | |
name = Robert Libotti | |
email = [email protected] | |
[core] | |
editor = code | |
excludesfile = ~/.gitignore_global | |
[push] | |
default = current |
This file contains 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
render() { | |
const {posts} = this.state; | |
return( | |
<div> | |
<ol className="item"> | |
{ | |
posts.map(post => ( | |
<li key={post.id} align="start"> | |
<div> | |
<p className="title">{post.title}</p> |
This file contains 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 obterQuantidadeDeCreditosSelecionados(lista: Disciplina[]): number { | |
return lista | |
.filter(x => x.selecionada) | |
.map(x => x.credito) | |
.reduce((sum, current) => sum + current, 0) | |
} |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
NewerOlder