domingo, 31 de janeiro de 2016

Short cut for symbols

Hi!
Have you ever asked yourself how to access those symbols?
So, here it is.
Enjoy it.

Alt + 1= ☺
Alt + 2= ☻
Alt + 3= ♥
Alt + 4= ♦
Alt + 5= ♣
Alt + 6= ♠
Alt + 7= •
Alt + 8= ◘
Alt + 9= ○
Alt + 10= ◙
Alt + 11= ♂
Alt + 12= ♀
Alt + 13= ♪
Alt + 14= ♫
Alt + 15= ☼
Alt + 16= ►
Alt + 17= ◄
Alt + 18= ↕
Alt + 19= ‼
Alt + 20= ¶
Alt + 21= §
Alt + 22= ▬
Alt + 23= ý
Alt + 24= ↑
Alt + 25= ↓
Alt + 26= →
Alt + 27= ←
Alt + 28= ∟
Alt + 29= ↔
Alt + 30= ▲
Alt + 31= ▼
Alt + 32=
Do Alt + 33 até o Alt + 126 são caractéres numéricos e de letras comuns do teclado... continuando
Alt + 127= ⌂
Alt + 128= Ç
Alt + 129= ü
Alt + 131= â
Alt + 132= ä
Alt + 133= à
Alt + 134= å
Alt + 135= ç
Alt + 136= ê
Alt + 137= ë
Alt + 138= è
Alt + 139= ï
Alt + 140= ¥
Alt + 141= ì
Alt + 142= Ä
Alt + 143= Å
Alt + 144= É
Alt + 145= æ
Alt + 146= Æ
Alt + 147= ô
Alt + 148= ö
Alt + 149= ò
Alt + 150= û
Alt + 151= ù
Alt + 152= ÿ
Alt + 153= Ö
Alt + 154= Ü
Alt + 155= ø
Alt + 156= £
Alt + 157= Ø
Alt + 158= ×
Alt + 159= ƒ
Alt + 160= á
Alt + 161= í
Alt + 162= ó
Alt + 163= ú
Alt + 164= ñ
Alt + 165= Ñ
Alt + 166= ª
Alt + 167= º
Alt + 168= ¿
Alt + 169= ®
Alt + 170= ¬
Alt + 171= ½
Alt + 172= ¼
Alt + 173= ¡
Alt + 174= «
Alt + 175= »
Alt + 176= ░
Alt + 177= ▒
Alt + 178= ▓
Alt + 179= │
Alt + 180= ┤
Alt + 181= Á
Alt + 182= Â
Alt + 183= À
Alt + 184= ©
Alt + 185= ╣
Alt + 186= ║
Alt + 187= ╗
Alt + 188= ╝
Alt + 189= ¢
Alt + 190= ¥
Alt + 191= ┐
Alt + 192= └
Alt + 193= ┴
Alt + 194= ┬
Alt + 195= ├
Alt + 196= ─
Alt + 197= ┼
Alt + 198= ã
Alt + 199= Ã
Alt + 200= ╚
Alt + 201= ╔
Alt + 202= ╩
Alt + 203= ╦
Alt + 204= ╠
Alt + 205= ═
Alt + 206= ╬
Alt + 207= ¤
Alt + 208= ð
Alt + 209= Ð
Alt + 210= Ê
Alt + 211= Ë
Alt + 212= È
Alt + 213= ı
Alt + 214= Í
Alt + 215= Î
Alt + 216= Ï
Alt + 217= ┘
Alt + 218= ┌
Alt + 219= █
Alt + 220= ▄
Alt + 221= ¦
Alt + 222= Ì
Alt + 223= ▀
Alt + 224= Ó
Alt + 225= ß
Alt + 226= Ô
Alt + 227= Ò
Alt + 228= õ
Alt + 229= Õ
Alt + 230= µ
Alt + 231= þ
Alt + 232= Þ
Alt + 233= Ú
Alt + 234= Û
Alt + 235= Ù
Alt + 236= ý
Alt + 237= Ý
Alt + 238= ¯
Alt + 239= ´
Alt + 241= ±
Alt + 242= ‗
Alt + 243= ¾
Alt + 244= ¶
Alt + 245= §
Alt + 246= ÷
Alt + 247= ¸
Alt + 248= °
Alt + 249= ¨
Alt + 250= •
Alt + 250= •
Alt + 251= ¹
Alt + 252= ³
Alt + 253= ²
Alt + 254= ■
Alt + 255=
Alt + 256=.

Estrelas:


Alt+10017= ✡
Alt+10022= ✦
Alt+10023= ✧
Alt+10025= ✩
Alt+10026= ✪
Alt+10027= ✫
Alt+10028= ✬
Alt+10029= ✭
Alt+10030= ✮
Alt+10031= ✯
Alt+10032= ✰
Alt+10037= ✵
Alt+10038= ✶
Alt+10039= ✷
Alt+10040= ✸
Alt+10041= ✹
Alt+10059= ❋

Xadrez:
Alt+9812= ♔ Rei branco
Alt+9813= ♕ Rainha branca
Alt+9814= ♖ Torre branca
Alt+9815= ♗ Bispo branco
Alt+9816= ♘ Cavalo branco
Alt+9817= ♙ Peão branco
Alt+9818= ♚ Rei negro
Alt+9819= ♛ Rainha negra
Alt+9820= ♜ Torre negra
Alt+9821= ♝ Bispo negro
Alt+9822= ♞ Cavalo negro
Alt+9823= ♟ Peão negro

Signos do Zodíaco:
Alt+9800= ♈ Áries
Alt+9801= ♉ Touro
Alt+9802= ♊ Gemêos
Alt+9803= ♋ Cancer
Alt+9804= ♌ Leão
Alt+9805= ♍ Virgem
Alt+9806= ♎ Libra
Alt+9807= ♏ Escorpião
Alt+9808= ♐ Sagitário
Alt+9809= ♑ Capricórnio
Alt+9810= ♒ Aquário
Alt+9811= ♓ Peixes

Planetas:
Alt+9788= ☼ Sol
Alt+9790= ☾ Lua
Alt+9791= ☿ Mercúrio
Alt+9792= ♀ Vênus
Alt+9793= ♁
Alt+9794= ♂ Marte
Alt+9795= ♃ Júpiter
Alt+9796=♄ saturno
Alt+9797=♅ Urano
Alt+9798=♆ Netuno
Alt+9799=♇ Plutão

Quadrados:
Alt+10063= ❏
Alt+10064= ❐
Alt+10065= ❑
Alt+0066= ❒

Mãos:
Alt+9754= ☚ mão negra apontando a esquerda
Alt+9755= ☛mão negra apontando p/ a direita
Alt+9756= ☜ mão branca apontando a esquerda
Alt+9757= ☝mão apontando p/ o alto
Alt+9758= ☞ mão apontando p/ a direita
Alt+9759= ☟ mão apontando p/ baixo
Alt+9996= ✌ paz e amor
Alt+9997= ✍ assinando

Astrologia e Astronomia:
Alt+9737= ☉ sol
Alt+9740= ☌ conjunção
Alt+9741= ☍ oposição
Alt+9738= ☊ nó ascendente
Alt+9739= ☋ nó descendente
Alt+9729= ☁ nuvem
Alt+9732= ☄ cometa
Alt+9728= ☀ sol preto
Alt+10042=✺ sol preto-2
Alt+9832= ♨ tempo quente
Alt+10061=❍ lua minguando

Setas:
Alt+10174= ➾
Alt+10162= ➲
Alt+10161= ➱
Alt+10159= ➯
Alt+10158= ➮
Alt+10157= ➭
Alt+10156= ➬
Alt+10155= ➫
Alt+10154= ➪
Alt+10153= ➩
Alt+10152= ➨
Alt+10151= ➧
Alt+10150= ➦
Alt+10149= ➥
Alt+10148= ➤
Alt+10147= ➣
Alt+10146= ➢
Alt+10145= ➡
Alt+10144= ➠
Alt+10143= ➟
Alt+10142= ➞
Alt+10141= ➝
Alt+10140= ➜
Alt+10139= ➛
Alt+10138= ➚
Alt+10137= ➙
Alt+10136= ➘
Alt+10132= ➔


Flechas:
Alt+10163= ➳
Alt+10164= ➴
Alt+10165= ➵
Alt+10166= ➶
Alt+10167= ➷
Alt+10168= ➸
Alt+10169= ➹
Alt+10170= ➺
Alt+10171= ➻
Alt+10172= ➼
Alt+10173= ➽

Flores:
Alt+10045= ✽
Alt+10046= ✾
Alt+10047= ✿
Alt+10048= ❀
Alt+10049= ❁
Alt+10051= ❃
Alt+10052= ❄
Alt+10053= ❅
Alt+10054= ❆
Alt+10058= ❊

Cruzes:
Alt+10009= ✙
Alt+10010= ✚
Alt+10011= ✛
Alt+10013= ✝
Alt+10014= ✞
Alt+10015= ✟
Alt+10016= ✠
Alt+10018= ✢
Alt+10019= ✣
Alt+10020= ✤
Alt+10021= ✥
Alt+9580= ╬
Alt+9766= ☦
Alt+9768= ☨
Alt+9769= ☩
Alt+10056=❈
Alt+8889= ⊹

Pontos e traços:
Alt+8756= ∴
Alt+8757= ∵
Alt+8758= ∶
Alt+8759= ∷
Alt+8760= ∸
Alt+8761= ∹
Alt+8762= ∺
Alt+8763= ∻
Alt+8781= ≍
Alt+8782= ≎
Alt+8783= ≏
Alt+8784= ≐
Alt+8785= ≑
Alt+8786= ≒
Alt+8787= ≓
Alt+8788= ≔
Alt+8789= ≕
Alt+8790= ≖

Símbolos variados:
Alt+9990 = ✆
Alt+9742 = ☎
Alt+9743 = ☏
Alt+9773 = ☭
Alt+10085= ❥
Alt+8987 = ⌛
Alt+8986 = ⌚
Alt+9993 = ✉
Alt+9992 = ✈
Alt+9985 = ✁
Alt+9986 = ✂
Alt+9987 = ✃
Alt+9988 = ✄
Alt+9762 = ☢
Alt+9999 = ✏
Alt+9998 = ✎
Alt+9730 = ☂
Alt+9763 = ☣
Alt+9765 = ☥
Alt+9760 = ☠
Alt+9767 = ☧
Alt+10000= ✐
Alt+10001= ✑
Alt+10002= ✒
Alt+10070= ❖
Alt+10075= ❛
Alt+10076= ❜
Alt+10077= ❝
Alt+10078= ❞
Alt+10081= ❡
Alt+10082= ❢
Alt+10083= ❣
Alt+10086= ❦
Alt+10087= ❧
Alt+9731 = ☃
Alt+8754 = ∲
Alt+8755 = ∳
Alt+9770 = ☪
Alt+9771 = ☫
Alt+9708 = ◬
Alt+9774 = ☮
Alt+9772 = ☬
Alt+9775 = ☯
Alt+9784 = ☸
Alt+9764 = ☤
Alt+10055= ❇
Alt+10056= ❈
Alt+10057= ❉
Alt+10050= ❂
Alt+10033= ✱
Alt+10034= ✲
Alt+9785 = ☹
Alt+8984 = ⌘
Alt+9673 = ◉
Alt+8661 = ⇕
Alt+9641 = ▩
Alt+8865 = ⊡
Alt+8864 = ⊠
Alt+8863 = ⊟
Alt+8862 = ⊞
Alt+8861 = ⊝
Alt+8860 = ⊜
Alt+8859 = ⊛
Alt+8858 = ⊚
Alt+8857 = ⊙
Alt+8880 = ⊰
Alt+8881 = ⊱
Alt+8882 = ⊲
Alt+8883 = ⊳
Alt+8887 = ⊷
Alt+8865 = ⊡
Alt+3356 = ജ
Alt+9637 = ▥
Alt+9689 = ◙
Alt+9680 = ◐
Alt+8813 = ≭

sábado, 30 de janeiro de 2016

Strict (2048): Declaration of App\Controller\UsersController::beforeFilter() should be compatible with App\Controller\AppController::beforeFilter(Cake\Event\Event $event) [APP/Controller\UsersController.php, line 12]

Strict (2048): Declaration of App\Controller\UsersController::beforeFilter() should be compatible with App\Controller\AppController::beforeFilter(Cake\Event\Event $event) [APP/Controller\UsersController.php, line 12]
Warning (4096): Argument 1 passed to App\Controller\UsersController::beforeFilter() must be an instance of App\Controller\Event, instance of Cake\Event\Event given, called in C:\Users\daniel\blog\vendor\cakephp\cakephp\src\Event\EventManager.php on line 385 and defined [APP/Controller\UsersController.php, line 14]

Hi!

If you are just like me studying the tutorial

CakePHP Cookbook Documentation
Release 3.x
Cake Software Foundation
January 18, 2016

You should have been found this problem when you finished the blog example.

Solution


Change this

    public function beforeFilter(Event $event)
    {
        parent::beforeFilter($event);
        // Allow users to register and logout.
        // You should not add the "login" action to allow list. Doing so would
        // cause problems with normal functioning of AuthComponent.
        $this->Auth->allow(['add', 'logout']);
    }

For this

    public function beforeFilter(\Cake\Event\Event $event)
    {
        $this->Auth->allow(['add','logout']);
    }
 
Good luck!




DROPDOWNLIST - You want to show the name, not the id. Me too. That's how I did it.

Hi!

Straight to the point.

        First, I was studying the tutorial. And was working with treelist. This is no good for me. So, I asked myself,  how do make this dropdownlist show the name? The standard answer is, "YOU SHOULD USE VIRTUAL FIELD". And I found it really annoying. So, I found out this solution.

        //You write this in your controller

        $query = $this->Articles->Categories->find('all', array('fields' => array('id', 'name')));
        foreach($query as $row)
        {
            $id = $row['id'];
            $name = $row['name'];
            $categories[$id] = $name;
        }

       //You write this in  your template
     
       echo $this->Form->input('category_id', array('type' => 'select','options'=> $categories));

And you are done! And of story!

Good luck!

PS: I'm new to cakePHP. This was really annoying to find out.

More informations click on the link bellow

http://stackoverflow.com/questions/19920094/cakephp-format-findall-to-list-in-view

Lines of the tutorial are incomplete - Page 90 - CakePHP Cookbook

Hi!

I found this problem when I was studying the tutorial

CakePHP Cookbook Documentation
Release 3.x
Cake Software Foundation
January 18, 2016

<td><?= $category->id ?></td>
<td><?= $category->parent_id ?></td>
<td><?= $category->lft ?></td>
<td><?= $category->rght ?></td>
<td><?= h($category->name) ?></td>
<td><?= h($category->description) ?></td>
<td><?= h($category->created) ?></td>
<td class="actions">
<?= $this->Html->link(__('View'), ['action' => 'view', $category->id]) ?>
<?= $this->Html->link(__('Edit'), ['action' => 'edit', $category->id]) ?>
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $category->id], 
<?= $this->Form->postLink(__('Move down'), ['action' => 'moveDown', $category->
<?= $this->Form->postLink(__('Move up'), ['action' => 'moveUp', $category-></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

Correction

    <?= $this->Html->link(__('View'), ['action' => 'view', $category->id]) ?>
    <?= $this->Html->link(__('Edit'), ['action' => 'edit', $category->id]) ?>
    <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $category->id]) ?>
    <?= $this->Form->postLink(__('Move down'), ['action' => 'moveDown', $category->id]) ?>
    <?= $this->Form->postLink(__('Move up'), ['action' => 'moveUp', $category->id]) ?>

Good luck!

segunda-feira, 25 de janeiro de 2016

Error: SQLSTATE[HY000]: General error: 1364 Field 'parent_id' doesn't have a default value

CakePHP Cookbook Documentation
Release 3.x
Cake Software Foundation

January 18, 2016

Page 88

These fields are automatically managed by the TreeBehavior when a category is saved.
Using your web browser, add some new categories using the /yoursite/categories/add controller

action.

Error: SQLSTATE[HY000]: General error: 1364 Field 'parent_id' doesn't have a default value

If you are using SQL keywords as table column names, you can enable identifier quoting for your database connection in config/app.php.

SQL Query:

INSERT INTO categories (lft, rght) VALUES (:c0, :c1)
If you want to customize this error message, create src\Template\Error\pdo_error.ct

SOLUTION

The parent_id was created as not null, make it nullable.

I did it using PHP Admin
I'm using vertrigo (the best wamp I ever found)




Harlock: Space Pirate - The First 10 Minutes

quinta-feira, 21 de janeiro de 2016

- cakephp/cakephp 3.1.7 requires ext-intl * -> the requested PHP extension intl is missing from your system.


Hi!

If you were trying to execute this

C:\Users\daniel>composer create-project --prefer-dist cakephp/app bookmarker

And received this message

 - cakephp/cakephp 3.1.7 requires ext-intl * -> the requested PHP extension intl is missing from your system.

Solution I found

uncomment this entry of your PHP.ini

;extension=php_intl.dll

After this, you're gonna a result similar to this bellow.


C:\Users\daniel>composer create-project --prefer-dist cakephp/app bookmarker
You are running composer with xdebug enabled. This has a major impact on runtime
 performance. See https://getcomposer.org/xdebug
Installing cakephp/app (3.1.2)
  - Installing cakephp/app (3.1.2)
    Loading from cache

Created project in bookmarker
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing aura/installer-default (1.0.0)
    Downloading: 100%

  - Installing cakephp/plugin-installer (0.0.12)
    Downloading: 100%

  - Installing psr/log (1.0.0)
    Downloading: 100%

  - Installing nesbot/carbon (1.13.0)
    Downloading: 100%

  - Installing mobiledetect/mobiledetectlib (2.8.19)
    Downloading: 100%

  - Installing aura/intl (1.1.1)
    Downloading: 100%

  - Installing ircmaxell/password-compat (v1.0.4)
    Downloading: 100%

  - Installing cakephp/cakephp (3.1.7)
    Downloading: 100%

  - Installing symfony/yaml (v3.0.1)
    Downloading: 100%

  - Installing symfony/filesystem (v3.0.1)
    Downloading: 100%

  - Installing symfony/config (v3.0.1)
    Downloading: 100%

  - Installing symfony/polyfill-mbstring (v1.0.1)
    Downloading: 100%

  - Installing symfony/console (v3.0.1)
    Downloading: 100%

  - Installing robmorgan/phinx (v0.5.1)
    Downloading: 100%

  - Installing cakephp/migrations (1.5.2)
    Downloading: 100%

  - Installing jakub-onderka/php-console-color (0.1)
    Downloading: 100%

  - Installing jakub-onderka/php-console-highlighter (v0.3.2)
    Downloading: 100%

  - Installing dnoegel/php-xdg-base-dir (0.1)
    Downloading: 100%

  - Installing nikic/php-parser (v2.0.0)
    Downloading: 100%

  - Installing symfony/var-dumper (v3.0.1)
    Downloading: 100%

  - Installing psy/psysh (v0.6.1)
    Downloading: 100%

  - Installing jdorn/sql-formatter (v1.2.17)
    Downloading: 100%

  - Installing cakephp/debug_kit (3.2.5)
    Downloading: 100%

  - Installing cakephp/bake (1.1.3)
    Downloading: 100%

symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/process ()
symfony/var-dumper suggests installing ext-symfony_debug ()
psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsyS
H a lot happier :))
psy/psysh suggests installing ext-posix (If you have PCNTL, you'll want the POSI
X extension as well.)
psy/psysh suggests installing ext-readline (Enables support for arrow-key histor
y navigation, and showing and manipulating command history.)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to
 work.)
cakephp/debug_kit suggests installing ext-sqlite (DebugKit needs to store panel
data in a database. SQLite is simple and easy to use.)
Writing lock file
Generating autoload files
> Cake\Composer\Installer\PluginInstaller::postAutoloadDump
> App\Console\Installer::postInstall
Created `config/app.php` file
Set Folder Permissions ? (Default to Y) [Y,n]? Y
Updated Security.salt value in config/app.php

C:\Users\daniel>


















DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER - IIS - Could not acquire connection - Are you getting insane with this error?

Hi!

Is Integration information server making you lose your mind because of this error?

DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

There are many reasons for this.

First

You named your connection with a fancy name. Example IggyAzaleia.10-78-5_12_WTF.
Solution : Connections must have simple names. No points, no dashes. Example Connection01

Second

You are updating a DTSX package, and suddenly you receive this dammned error. The message says that it is impossible to logging.

In this case there some possibilities
        The user you your using is blocked. There were so many errors that the user you are using in the connection string was blocked.
        When you update the DTSX, the connection you have entered loses the password. Fill the connection string again and don't forget the password. It seems that everything is ok (but IIS IS LYING!)

And that is it.

Good luck!

PS: If you have any doubt, post your comment below.



quarta-feira, 20 de janeiro de 2016

How to see what's in the PATH - Enviroment variables - DOS


Answer
c:\> echo %PATH%



Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org

Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org

Request to https://getcomposer.org/installer failed with errors:
Failed to open stream: No connection could be made because the target machine actively refused it.

http://stackoverflow.com/questions/24752354/composer-setup-connection-error-err-connection-unable-to-connect-to-getcomp

msvcr110.dll is missing from computer error while installing PHP

The answer is here

http://stackoverflow.com/questions/23782735/wampserver-php-win-exe-the-program-cant-start-because-msvcr110-dll-is-missing


https://www.microsoft.com/en-us/download/confirmation.aspx?id=30679

terça-feira, 19 de janeiro de 2016

MONGO - SHUT DOWN

using shell

> use admin
switched to db admin
> db.shutdownServer()
server should be down...
2016-01-19T23:16:53.343-0200 I NETWORK  [thread1] trying reconnect to 127.0.0.1:
27017 (127.0.0.1) failed
2016-01-19T23:16:54.368-0200 W NETWORK  [thread1] Failed to connect to 127.0.0.1
:27017, reason: errno:10061 No connection could be made because the target machi
ne actively refused it.
2016-01-19T23:16:54.369-0200 I NETWORK  [thread1] reconnect 127.0.0.1:27017 (127
.0.0.1) failed failed
>

MONGORESTORE - WINDOWS

The restore will restore the dump.

C:\MyData\TI\Software\DataBase\MongoDB\Course\chapter_1_introduction.a560c7cceb68\homework_1_1\hw1-1>mongorestore

segunda-feira, 18 de janeiro de 2016

Refactoring Machine - Simple application to replace content of files


Simple application to replace content of files. No tricks. It's really free.

 Refactoring Machine


Top 10 Sword Fights in Movies

GitHub - How to get out of VIM

Hi!

After you execute

git commit [some file]

The VIM window appears and you can't get of the d. thing.

Solution

Make the comment on the top of the screen.

Type
Esc

And then on the bottom, left side, of the window type
:wq 

Good luck!



GitHub - remove files

The sequence is

$ git rm *.*
$ git commit -m "remove all"
$ git push

Good luck!

GitHub - The best explanation I found about creation of branches



Excellent!

domingo, 17 de janeiro de 2016

GitHub, the mission

Hi!

If you are like me, and always have problems to remember how git hubs work. Here we go.

In my case a logged in the website github.com and created a repo.

Then, cloned it. To clone is just o sync the repo with your local computer. It will create a directory on computer. Where? In my case

C:\Users\daniel

Once it worked.

O go into the folder (cd .... )

I copy everything that I wanted to the directory.

git add *.*  (add everything baby)

and then

git push

It's done.

It's simple, isn't it?

But it seems that depending on how you begin to create your repo, the sequence always change and the variations also seem infinite.

Do you like github?

Share your thoughts.

Good Luck!

$ git clone https://github.com/netdaniels/your_repo
daniel@DANIEL-PC ~
$ cd your_repo
daniel@DANIEL-PC ~/your_repo (master)
$ ls
Filter.xml                     your_repo.vshost.exe.config
LICENSE                        your_repo.vshost.exe.manifest
LastSearch.xml                 Result.xml
PreviewResult.xml              STARFISH.Core.Home.GrpLalobalo.dll
README.md                      STARFISH.Core.Home.GrpLalobaloConfiguration.dll
your_repo.exe         STARFISH.Core.Home.GrpLalobaloIO.dll
your_repo.exe.config  STARFISH.Core.Home.GrpLalobaloLog.dll
your_repo.vshost.exe
daniel@DANIEL-PC ~/your_repo (master)
$ git push
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:

  git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

  git config --global push.default simple

When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.

In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)

Username for 'https://github.com': [your user name]
Password for 'https://netdaniels@github.com':
Everything up-to-date

daniel@DANIEL-PC ~/your_repo (master)

$ git add *.*
warning: LF will be replaced by CRLF in LastSearch.xml.
The file will have its original line endings in your working directory.

daniel@DANIEL-PC ~/your_repo (master)
$ git commit
[master 4d9bd6c] Primeiro commit
warning: LF will be replaced by CRLF in LastSearch.xml.
The file will have its original line endings in your working directory.
 13 files changed, 543 insertions(+)
 create mode 100644 Filter.xml
 create mode 100644 LastSearch.xml
 create mode 100644 PreviewResult.xml
 create mode 100644 your_repo.exe
 create mode 100644 your_repo.exe.config
 create mode 100644 your_repo.vshost.exe
 create mode 100644 your_repo.vshost.exe.config
 create mode 100644 your_repo.vshost.exe.manifest
 create mode 100644 Result.xml
 create mode 100644 STARFISH.Core.Home.GrpLalobalo.dll
 create mode 100644 STARFISH.Core.Home.GrpLalobaloConfiguration.dll
 create mode 100644 STARFISH.Core.Home.GrpLalobaloIO.dll
 create mode 100644 STARFISH.Core.Home.GrpLalobaloLog.dll

daniel@DANIEL-PC ~/your_repo (master)

$ git push
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:

  git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

  git config --global push.default simple

When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.

In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)

Username for 'https://github.com': [your user name]
Password for 'https://netdaniels@github.com':

Counting objects: 15, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (14/14), 72.82 KiB | 0 bytes/s, done.
Total 14 (delta 1), reused 0 (delta 0)
To https://github.com/netdaniels/your_repo
   89088ed..4d9bd6c  master -> master

daniel@DANIEL-PC ~/your_repo (master)
$

PyMongo requires Pyton

https://www.python.org/downloads/windows/


PyMongo for Windows MSI

Shutdown MongoDB on Windows

Using Shell

db.shutdownServer() 

28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod

Hi!

The answer is in the message. Do as it says.

en: 28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine exp
licitly, e.g. --storageEngine=mmapv1

Answer
c:> mongod  --storageEngine=mmapv1 --dbpath [your path goes here]

Good Luck!

MongDB Shell not working on Windows

Hi!

You have just installed MongoDB and the shell is not working?

Solution

Computer > Properties > Advanced system settings > Environment variables > Path

Edit path

Add the path of MongoDB
My path is like that
;C:\Program Files\MongoDB\Server\3.2\bin
OK

Go to prompt windows
type
echo %PATH%
Check if the path you have just added is there.
If it is, you are done.

Restart your computer.

Try it again.

Good luck!






Mongo DB Setup for Windows

sábado, 9 de janeiro de 2016

Why duollingo does not understand what I say? This is a possible reason...


When you are practicing, set Microphone Boost to zero.

I did this, and rarely duolingo says it does not understand what I say.

Well, of course we must not forget the other reason duolingo does not uderstand what you say is because your pronunciation is wrong.

I hope this helps you.

I'm currently finishing he Italian course. What about you?

sexta-feira, 8 de janeiro de 2016

quarta-feira, 6 de janeiro de 2016

LIMITLESS Season 1 TRAILER (2015) | New CBS Series First Look HD


You should use sqlcmd.exe using dos prompting to execute large sql files (GREATER THEN 1gb)

Whenever I have to execute a huge file, I use sqlcmd.exe via dos.

My strategy is

STEP 1

Create a specific user for that - something like USR_TOUGH_GUY

OWNED SCHEMAS
db_accessadmin

ROLE MEMBERS
db_accessadmin

STEP 2

Find the executable sqlcmd.exe in the machine where SQL SERVER is installed.

STEP 3

Execute
sqlcmd -S myServer\instanceName -U USR_TOUGH_GUY -P THE_PASSWORD_OF_MR_TOUGH_GUY  -i  C:\yourscript.sql


STEP 4

Disable mr TOUGH_GUY

Final considerations

You could do this using the SQLStudio but it will consume a lot of memory of the machine, if you are, for instance, trying to execute a 4GB file.

Good luck!