Skip to content

Instantly share code, notes, and snippets.

@Wolg
Last active September 14, 2015 08:31
Show Gist options
  • Select an option

  • Save Wolg/9fd76d93e1880539770c to your computer and use it in GitHub Desktop.

Select an option

Save Wolg/9fd76d93e1880539770c to your computer and use it in GitHub Desktop.

Revisions

  1. Wolg revised this gist Sep 14, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions chechen.php
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    <?php
    foreach(range(0, 50) as $i) {
    $names = ['Али', 'Акболат', 'Ваха', 'Гази', 'Дага', 'Джамбек', 'Заур', 'Зураб', 'Ибрагим', 'Иса',
    'Магомед', 'Муса', 'Назарбек', 'Рамзан', 'Сосланбек', 'Усман', 'Хаджи', 'Иван'];
  2. Wolg renamed this gist Sep 14, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. Wolg created this gist Sep 14, 2015.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    foreach(range(0, 50) as $i) {
    $names = ['Али', 'Акболат', 'Ваха', 'Гази', 'Дага', 'Джамбек', 'Заур', 'Зураб', 'Ибрагим', 'Иса',
    'Магомед', 'Муса', 'Назарбек', 'Рамзан', 'Сосланбек', 'Усман', 'Хаджи', 'Иван'];
    $lnames = ['Айдамиров', 'Бокой', 'Дуарбеков', 'Муратов', 'Гоголадзе', 'Иванов'];
    DB::table('users')->insert([
    'name' => $names[array_rand($names)] . ' ' . $lnames[array_rand($lnames)],
    'email' => str_random(10) . rand(1950, 1996) .'@чечня.рф',
    'password' => bcrypt('secret'),
    ]);
    }